aboutsummaryrefslogtreecommitdiff
path: root/src/template.h
blob: 45a58fc9399f0b89bc0903e4f8e601aa360823da (plain)
1
2
3
4
5
6
7
8
9
10
#include "hashmap.h"
#include "vector.h"


struct env;
struct env *env_new();
void env_free(struct env *env);
char *template(struct env *env, char *template_name, struct hashmap *ctx);
char *template_string(char *tmpl, struct hashmap *ctx);
char *read_file(char *filename);