summaryrefslogtreecommitdiff
path: root/blog.h
blob: 3ce3976966412564e02a0197db7e9c2a059751b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef BLOG_H
#define BLOG_H

#define PASSWORD_FILE "/blog/password"

void read_post_data(void);
char *find_post_data(char *key);

int authenticate(const char *username, const char *password);

int handle_post(void);

int show_entry(const char *path);

#endif