diff options
Diffstat (limited to 'src/msntab.h')
-rw-r--r-- | src/msntab.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/msntab.h b/src/msntab.h new file mode 100644 index 0000000..28de484 --- /dev/null +++ b/src/msntab.h @@ -0,0 +1,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 |