From 4de3158c80864aa130ac6f701f4c28a2aa7bbf20 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 17 Jul 2019 21:25:15 -0400 Subject: move HTTP POST handling to separate file --- blog.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 blog.h (limited to 'blog.h') 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 -- cgit v1.2.1