diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/lexer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/lexer.h b/include/lexer.h index 4621f6f..f7cb6d2 100644 --- a/include/lexer.h +++ b/include/lexer.h @@ -38,7 +38,12 @@ typedef struct { char *content; } eachdo_operands_t; -list_t *lex(char *buffer); +typedef struct { + list_t *matches; + list_t *directives; +} lex_t; + +lex_t *lex(char *buffer); directive_t *find_directive(char *content, key_match_t *match); key_match_t *find_next_key(char *buffer, size_t skip); char *find_contentfor_value(list_t *content_headers, char *key); |