From b9dfd01a7919df8faf8aa7f86554360444014e9d Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 26 Jul 2019 18:11:14 -0400 Subject: let httpd do the authentication --- blog.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'blog.h') diff --git a/blog.h b/blog.h index 85bf490..1aad4e7 100644 --- a/blog.h +++ b/blog.h @@ -1,8 +1,6 @@ #ifndef BLOG_H #define BLOG_H -#define PASSWORD_FILE "/blog/password" - #define DOCTYPE "\n" #define HTML "\n" #define META "\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); -- cgit v1.2.1