aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-11 11:20:27 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-11 11:20:27 +0530
commit7eb270eabb42bb896f41f8ad36fdd79cc6371d26 (patch)
tree06be10bc770484c83d4aa2c58ee2721a3176416e /include
parentcde16169e0dec04ecef4bd228f770c254314f148 (diff)
template: template_ingest() must write to a FILE
Diffstat (limited to 'include')
-rw-r--r--include/template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/template.h b/include/template.h
index c14936e..30b2882 100644
--- a/include/template.h
+++ b/include/template.h
@@ -2,6 +2,7 @@
#define __TEMPLATE_H
#include <list.h>
+#include <stdio.h>
typedef struct {
list_t *components;
@@ -10,7 +11,6 @@ typedef struct {
template_t *template_create(void);
void template_delete(template_t *template);
-char *
-template_ingest(template_t *template, list_t *content_headers, char *body);
+void template_ingest(template_t *template, list_t *content_headers, FILE *f);
#endif