summaryrefslogtreecommitdiffstats
path: root/src/msntab.h
blob: 28de4845f1735dc3778470c094f4d3c0fa672cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef foomsntabhfoo
#define foomsntabhfoo

enum call_action { CALL_ACTION_IGNORE, CALL_ACTION_ACCEPT, CALL_ACTION_HANGUP };

struct tabentry {
    enum call_action action;
    int ref_counter;

    char **args;
};

struct tabentry* msntab_check_call(const char *callee, const char *caller);
struct tabentry* msntab_ref(struct tabentry *t);
void msntab_unref(struct tabentry *t);

#endif