summaryrefslogtreecommitdiffstats
path: root/src/msntab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/msntab.h')
-rw-r--r--src/msntab.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/msntab.h b/src/msntab.h
index 28de484..9c473e3 100644
--- a/src/msntab.h
+++ b/src/msntab.h
@@ -5,13 +5,28 @@ enum call_action { CALL_ACTION_IGNORE, CALL_ACTION_ACCEPT, CALL_ACTION_HANGUP };
struct tabentry {
enum call_action action;
- int ref_counter;
+ 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