summaryrefslogtreecommitdiff
path: root/blog.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-07-17 21:25:15 -0400
committerJakob Kaivo <jkk@ung.org>2019-07-17 21:25:15 -0400
commit4de3158c80864aa130ac6f701f4c28a2aa7bbf20 (patch)
tree649e2a229576d36ad56d9602a4a9dfdeab1cc29a /blog.h
parent2bc5ce287a9f15af8e299138f85e2a286708313b (diff)
move HTTP POST handling to separate file
Diffstat (limited to 'blog.h')
-rw-r--r--blog.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/blog.h b/blog.h
new file mode 100644
index 0000000..051f162
--- /dev/null
+++ b/blog.h
@@ -0,0 +1,13 @@
+#ifndef BLOG_H
+#define BLOG_H
+
+void read_post_data(void);
+char *find_post_data(char *key);
+
+int verify_creds(const char *username, const char *password);
+
+int handle_post(void);
+
+int show_entry(const char *path);
+
+#endif