diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-07-17 21:49:30 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-07-17 21:49:30 -0400 |
commit | 6148ad8185f6e3c05eaa980d14e4f68cd37c89fe (patch) | |
tree | 9561060513b65f45566207b153a0b95d6c4b21c6 /blog.h | |
parent | d1746995e5aa1497d46ad95726918233713a7b6d (diff) |
rename verify_creds() to authenticate()
Diffstat (limited to 'blog.h')
-rw-r--r-- | blog.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |