summaryrefslogtreecommitdiff
path: root/blog.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-07-26 18:11:14 -0400
committerJakob Kaivo <jkk@ung.org>2019-07-26 18:11:14 -0400
commitb9dfd01a7919df8faf8aa7f86554360444014e9d (patch)
tree1a9549573f335a5ccb39f15b63079ca4792cda93 /blog.h
parent9ceef9cf5043916754178370d8caf46a8fc79954 (diff)
let httpd do the authentication
Diffstat (limited to 'blog.h')
-rw-r--r--blog.h6
1 files changed, 0 insertions, 6 deletions
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 "<!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);