aboutsummaryrefslogtreecommitdiff
path: root/src/engine/include.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/include.c')
-rw-r--r--src/engine/include.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/include.c b/src/engine/include.c
index 30cce88..5cb650e 100644
--- a/src/engine/include.c
+++ b/src/engine/include.c
@@ -27,6 +27,14 @@
extern msg_t *msg;
+/*
+ * Handles INCLUDE calls. Given a pointer to the buffer, it replaces the
+ * INCLUDE call with the operand file's content.
+ *
+ * buffer: Pointer to the buffer that is modified
+ * match: Pointer to the key match
+ * directive: Pointer to the directive struct
+ */
void
handle_include(char **buffer, key_match_t *match, directive_t *directive)
{