summaryrefslogtreecommitdiff
path: root/blog.h
blob: 6e55315723dc7fcecea2548da36495549cbb5142 (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"

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