aboutsummaryrefslogtreecommitdiff
path: root/src/template.h
diff options
context:
space:
mode:
authorDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-18 11:49:12 +0100
committerDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-18 11:49:12 +0100
commit379219bbe4a7843bb32ea6dc7eca375105f2a909 (patch)
tree7420483d64a2c085285917817e4d3c7e0f89e552 /src/template.h
parentf5f04edbf832aa2e219c621b9895c33dce3e47ba (diff)
downloadunja-379219bbe4a7843bb32ea6dc7eca375105f2a909.tar.gz
unja-379219bbe4a7843bb32ea6dc7eca375105f2a909.zip
more preparation for supporting inheritance
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