From 6148ad8185f6e3c05eaa980d14e4f68cd37c89fe Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 17 Jul 2019 21:49:30 -0400 Subject: rename verify_creds() to authenticate() --- blog.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'blog.h') diff --git a/blog.h b/blog.h index 051f162..3ce3976 100644 --- a/blog.h +++ b/blog.h @@ -1,10 +1,12 @@ #ifndef BLOG_H #define BLOG_H +#define PASSWORD_FILE "/blog/password" + void read_post_data(void); char *find_post_data(char *key); -int verify_creds(const char *username, const char *password); +int authenticate(const char *username, const char *password); int handle_post(void); -- cgit v1.2.1