diff options
author | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-18 11:49:12 +0100 |
---|---|---|
committer | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-18 11:49:12 +0100 |
commit | 379219bbe4a7843bb32ea6dc7eca375105f2a909 (patch) | |
tree | 7420483d64a2c085285917817e4d3c7e0f89e552 /src/template.h | |
parent | f5f04edbf832aa2e219c621b9895c33dce3e47ba (diff) | |
download | unja-379219bbe4a7843bb32ea6dc7eca375105f2a909.tar.gz unja-379219bbe4a7843bb32ea6dc7eca375105f2a909.zip |
more preparation for supporting inheritance
Diffstat (limited to 'src/template.h')
-rw-r--r-- | src/template.h | 6 |
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 |