21 lines
385 B
C
21 lines
385 B
C
/* vi: set sw=4 ts=4: */
|
|
/* files.h */
|
|
#ifndef _FILES_H
|
|
#define _FILES_H
|
|
|
|
struct config_keyword {
|
|
const char *keyword;
|
|
int (* const handler)(const char *line, void *var);
|
|
void *var;
|
|
const char *def;
|
|
};
|
|
|
|
|
|
int read_config(const char *file);
|
|
void write_leases(void);
|
|
void read_leases(const char *file);
|
|
|
|
struct option_set *find_option(struct option_set *opt_list, char code);
|
|
|
|
#endif
|