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