diff options
Diffstat (limited to 'keyword.h')
-rw-r--r-- | keyword.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4,6 +4,7 @@ #include <time.h> typedef enum keyword_type keyword_type; +typedef struct delimiter delimiter; typedef struct keyword keyword; typedef union keyword_val keyword_val; typedef int (set_keyword_cb)(void *ctx, void *ret, const keyword *key, keyword_val val); @@ -20,6 +21,12 @@ enum keyword_type { TYPE_COUNT, }; +struct delimiter { + char *delm; /* Delimiter. */ + int lead_space; /* Leading whitespace. */ + int trail_space; /* Trailing whitespace. */ +}; + struct keyword { const char *key; /* Keyword. */ const char *desc; /* Description of the keyword. */ |