aboutsummaryrefslogtreecommitdiff
path: root/src/template.h
diff options
context:
space:
mode:
authorDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-12 12:33:55 +0100
committerDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-12 12:33:55 +0100
commit83eee4d23f9da9e72238dd01d43b350ed5bc04f1 (patch)
tree46b92c58b7e37977cd06da09b32dbf626f5b19df /src/template.h
parentcd70ca266bb212d6a32d2dd808c7708bb7be6f1f (diff)
downloadunja-83eee4d23f9da9e72238dd01d43b350ed5bc04f1.tar.gz
unja-83eee4d23f9da9e72238dd01d43b350ed5bc04f1.zip
add some more test helpers
Diffstat (limited to 'src/template.h')
-rw-r--r--src/template.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/template.h b/src/template.h
new file mode 100644
index 0000000..896ef71
--- /dev/null
+++ b/src/template.h
@@ -0,0 +1,9 @@
+#include "hashmap.h"
+
+char *read_file(char *filename);
+void template(char *tmpl, struct hashmap *ctx);
+
+struct post {
+ char title[64];
+ char tags[8][32];
+}; \ No newline at end of file