aboutsummaryrefslogtreecommitdiff
path: root/src/template.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/template.h')
-rw-r--r--src/template.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/template.h b/src/template.h
index f65da47..45a58fc 100644
--- a/src/template.h
+++ b/src/template.h
@@ -1,10 +1,10 @@
#include "hashmap.h"
#include "vector.h"
-char *read_file(char *filename);
-char *template(char *tmpl, struct hashmap *ctx);
struct env;
struct env *env_new();
void env_free(struct env *env);
-char *render(struct env *env, char *template_name, struct hashmap *ctx); \ No newline at end of file
+char *template(struct env *env, char *template_name, struct hashmap *ctx);
+char *template_string(char *tmpl, struct hashmap *ctx);
+char *read_file(char *filename); \ No newline at end of file