diff options
author | Mike Frysinger | 2006-05-08 03:20:50 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-05-08 03:20:50 +0000 |
commit | 7031f62d9b750568b5e98bdb8c59c3c1a72e073d (patch) | |
tree | b8d037a539281e7f7592e3045fa59e445495f603 /networking/udhcp/files.h | |
parent | 15fe2e11d7886d04450cabc8b40f0d396b6b6d85 (diff) | |
download | busybox-7031f62d9b750568b5e98bdb8c59c3c1a72e073d.zip busybox-7031f62d9b750568b5e98bdb8c59c3c1a72e073d.tar.gz |
add back in udhcp support
Diffstat (limited to 'networking/udhcp/files.h')
-rw-r--r-- | networking/udhcp/files.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h new file mode 100644 index 0000000..03acee2 --- /dev/null +++ b/networking/udhcp/files.h @@ -0,0 +1,19 @@ +/* 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 |