diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-07-26 18:11:14 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-07-26 18:11:14 -0400 |
commit | b9dfd01a7919df8faf8aa7f86554360444014e9d (patch) | |
tree | 1a9549573f335a5ccb39f15b63079ca4792cda93 /blog.h | |
parent | 9ceef9cf5043916754178370d8caf46a8fc79954 (diff) |
let httpd do the authentication
Diffstat (limited to 'blog.h')
-rw-r--r-- | blog.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1,8 +1,6 @@ #ifndef BLOG_H #define BLOG_H -#define PASSWORD_FILE "/blog/password" - #define DOCTYPE "<!DOCTYPE html>\n" #define HTML "<html lang=\"en\">\n" #define META "<meta charset=\"utf-8\">\n" @@ -23,12 +21,8 @@ char *find_post_data(char *key); char *user_name(const char *user); char *user_email(const char *user); -int authenticate(const char *username, const char *password); - int handle_post(void); -int show_entry(const char *path); - void add_to_index(const char *user, const char *path, const char *title); int current_year(void); |