diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-11 11:27:43 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-07-11 11:27:43 +0530 |
| commit | 2062f6d902e000ff23ff487fa2fd461328c6c47d (patch) | |
| tree | 318009e0a58001db1ac570a0edf9986f3da3c5dc /include | |
| parent | b2780c0990aa42c0aef94386163fcf5b6a7057d3 (diff) | |
template: template_write must accept a doc as content
Diffstat (limited to 'include')
| -rw-r--r-- | include/template.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/template.h b/include/template.h index c898487..dbeb897 100644 --- a/include/template.h +++ b/include/template.h @@ -2,6 +2,7 @@ #define __TEMPLATE_H #include <list.h> +#include <stdbool.h> #include <stdio.h> typedef struct { @@ -10,6 +11,10 @@ typedef struct { template_t *template_create(void); void template_delete(template_t *template); -void template_write(template_t *template, list_t *content_headers, FILE *f); +void template_write(template_t *template, + list_t *content_headers, + FILE *f, + void *doc, + bool is_markdown); #endif |
