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

#define PASSWORD_FILE	"/blog/password"
#define DATA_DIRECTORY	"/jakob/blog"

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