aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-30 08:33:53 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-30 08:33:53 +0530
commit6b618e71f577ecc3e2665717515828d1ae12927b (patch)
tree3a13d301c48b93dc3f090506be273e5bc537ffd2 /include/lexer.h
parent22b62228d0b8fe081ec6df95cf331b3d290127ab (diff)
lexer: add directive_delete()
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h
index 0da45ff..c6e9b5b 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -45,6 +45,8 @@ 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);
+void directive_delete(directive_t *directive);
+
void lexer_handle_include(directive_t *directive,
key_match_t *match,
char *buffer,