aboutsummaryrefslogtreecommitdiff
path: root/src/template.h
diff options
context:
space:
mode:
authorDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-12 15:07:09 +0100
committerDanny van Kooten <dannyvankooten@users.noreply.github.com>2020-03-12 15:07:09 +0100
commit791e03d8199fa1177f970f45a8a436912d229d1c (patch)
treebd24f5ad87bca8e932e9db8176d46a31d578c43c /src/template.h
parenta39e8c713e0a8ea9f2f8e455c1ce2b4d0c3f5115 (diff)
downloadunja-791e03d8199fa1177f970f45a8a436912d229d1c.tar.gz
unja-791e03d8199fa1177f970f45a8a436912d229d1c.zip
add vector type
Diffstat (limited to 'src/template.h')
-rw-r--r--src/template.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/template.h b/src/template.h
index b4d46b3..36d540d 100644
--- a/src/template.h
+++ b/src/template.h
@@ -1,15 +1,5 @@
#include "hashmap.h"
+#include "vector.h"
char *read_file(char *filename);
char *template(char *tmpl, struct hashmap *ctx);
-
-struct post {
- char title[64];
- char tags[8][32];
-};
-
-struct list {
- void **values;
- int size;
- int cap;
-}; \ No newline at end of file