aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lexer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h
index 4bcd07f..448d302 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -32,6 +32,12 @@ typedef struct {
unsigned int length;
} contentfor_operand_t;
+typedef struct {
+ char *key;
+ char *source;
+ char *content;
+} for_operand_t;
+
list_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);