aboutsummaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-08-29 14:10:14 -0400
committerRaghuram Subramani <raghus2247@gmail.com>2025-08-29 14:10:14 -0400
commitd9e9613782af1f0d224d73d61f48bb02ad20032f (patch)
tree11d10b1d03298810b72c1c6e76ca0bba853104ea /include/engine.h
parent2d045681d02f981bd610dad0eec7e43ad7fc9f9f (diff)
engine: don't handle page source only if a template is being parsed
Diffstat (limited to 'include/engine.h')
-rw-r--r--include/engine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/engine.h b/include/engine.h
index ab08e7a..5da3332 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -22,6 +22,7 @@
#include <config.h>
#include <lexer.h>
#include <list.h>
+#include <stdbool.h>
/*
* Simply just there to return content headers and config.
@@ -42,7 +43,7 @@ typedef struct {
int priority;
} atom_t;
-engine_t *engine_ingest(char **buffer);
+engine_t *engine_ingest(char **buffer, bool is_template);
void engine_delete(engine_t *engine);
void handle_include(char **buffer, key_match_t *match, directive_t *directive);