aboutsummaryrefslogtreecommitdiff
path: root/include/template.h
blob: dbeb89724343e7ecb03f367fa5e64537c2e693bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __TEMPLATE_H
#define __TEMPLATE_H

#include <list.h>
#include <stdbool.h>
#include <stdio.h>

typedef struct {
  list_t *components;
} template_t;

template_t *template_create(void);
void template_delete(template_t *template);
void template_write(template_t *template,
                    list_t *content_headers,
                    FILE *f,
                    void *doc,
                    bool is_markdown);

#endif