aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-27 19:17:48 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-27 19:17:48 +0530
commit82699f835535ae58f9ad7eb088c38df2a787a07d (patch)
tree7bf612ff1d7e4e97915f9e5a1d4ec4d5ff409cb6 /include/lexer.h
parentd59070443e4f9a82ce177bb883dd7b6179471147 (diff)
lexer: handle put
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/lexer.h b/include/lexer.h
index f7cb6d2..7d9a955 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -13,7 +13,8 @@ typedef enum {
ENDCONTENT,
BODY,
EACHDO,
- ENDEACHDO
+ ENDEACHDO,
+ PUT
} directive_e;
typedef struct {
@@ -65,5 +66,9 @@ void lexer_handle_eachdo(directive_t *directive,
key_match_t *match,
char *buffer,
size_t n);
+void lexer_handle_put(directive_t *directive,
+ key_match_t *match,
+ char *buffer,
+ size_t n);
#endif