about summary refs log tree commit diff
path: root/template.h
diff options
context:
space:
mode:
authorlukasepple <git@lukasepple.de>2014-08-02 20:45:59 +0200
committerlukasepple <git@lukasepple.de>2014-08-02 20:45:59 +0200
commit7ed540d92af1e556b67def749480abdf25d3252f (patch)
tree9619e8e5d527d9ada2c9f3c4cd983ddc4b3eccba /template.h
out of the nowhere a cgi blog software appears
Diffstat (limited to 'template.h')
-rw-r--r--template.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/template.h b/template.h
new file mode 100644
index 0000000..1d70485
--- /dev/null
+++ b/template.h
@@ -0,0 +1,18 @@
+/* this function should print out the
+ * top part of the blog's source code */
+void template_header(void);
+
+/* this functions should print out the
+ * bottom part of the blog's source code */
+void template_footer(void);
+
+/* this function should print out the source
+ * code for a index entry for a blog post */
+void template_post_index_entry(char post_path[], char link_path[]);
+
+/* this function should generate the source code
+ * for a single entry */
+void template_post_single_entry(char post_path[]);
+
+/* this functions should return a 404 error page */
+void template_error_404(void);