summaryrefslogtreecommitdiff
path: root/src/starter/keywords.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/starter/keywords.h')
-rw-r--r--src/starter/keywords.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/starter/keywords.h b/src/starter/keywords.h
index 705a7c16e..94af493f8 100644
--- a/src/starter/keywords.h
+++ b/src/starter/keywords.h
@@ -16,7 +16,10 @@
#ifndef _KEYWORDS_H_
#define _KEYWORDS_H_
-typedef enum {
+typedef enum kw_token_t kw_token_t;
+typedef struct kw_entry_t kw_entry_t;
+
+enum kw_token_t {
/* config setup keywords */
KW_CHARONDEBUG,
KW_UNIQUEIDS,
@@ -69,6 +72,7 @@ typedef enum {
KW_MEDIATED_BY,
KW_ME_PEERID,
KW_REQID,
+ KW_REPLAY_WINDOW,
KW_MARK,
KW_MARK_IN,
KW_MARK_OUT,
@@ -184,6 +188,11 @@ typedef enum {
KW_ALSO,
KW_AUTO,
-} kw_token_t;
+};
+
+struct kw_entry_t {
+ char *name;
+ kw_token_t token;
+};
#endif /* _KEYWORDS_H_ */