#ifndef foomsntabhfoo #define foomsntabhfoo enum call_action { CALL_ACTION_IGNORE, CALL_ACTION_ACCEPT, CALL_ACTION_HANGUP }; struct tabentry { enum call_action action; unsigned ref_counter; char **args; char *local; char *remote; struct tabentry *next; struct tabentry *prev; int shbuf; unsigned rings; char *filename; /* filename of the msntab where this entry originates from */ unsigned line; }; struct tabentry* msntab_check_call(const char *callee, const char *caller); struct tabentry* msntab_ref(struct tabentry *t); void msntab_unref(struct tabentry *t); void msntab_flush(void); int msntab_load(const char *fn); void msntab_dump(void); #endif