Mike Frysinger | 7031f62 | 2006-05-08 03:20:50 +0000 | [diff] [blame] | 1 | /* files.h */ |
2 | #ifndef _FILES_H | ||||
3 | #define _FILES_H | ||||
4 | |||||
5 | struct config_keyword { | ||||
6 | const char *keyword; | ||||
7 | int (* const handler)(const char *line, void *var); | ||||
8 | void *var; | ||||
9 | const char *def; | ||||
10 | }; | ||||
11 | |||||
12 | |||||
13 | int read_config(const char *file); | ||||
14 | void write_leases(void); | ||||
15 | void read_leases(const char *file); | ||||
16 | |||||
17 | struct option_set *find_option(struct option_set *opt_list, char code); | ||||
18 | |||||
19 | #endif |