hush/networking/udhcp/files.h

20 lines
360 B
C
Raw Normal View History

2002-10-14 21:41:28 +00:00
/* files.h */
#ifndef _FILES_H
#define _FILES_H
struct config_keyword {
2003-06-10 17:22:49 +00:00
const char *keyword;
int (* const handler)(const char *line, void *var);
2002-10-14 21:41:28 +00:00
void *var;
2003-06-10 17:22:49 +00:00
const char *def;
2002-10-14 21:41:28 +00:00
};
2003-06-10 17:22:49 +00:00
int read_config(const char *file);
2002-10-14 21:41:28 +00:00
void write_leases(void);
2003-06-10 17:22:49 +00:00
void read_leases(const char *file);
2002-10-14 21:41:28 +00:00
struct option_set *find_option(struct option_set *opt_list, char code);
2002-10-14 21:41:28 +00:00
#endif