diff options
Diffstat (limited to 'busybox/networking/udhcp/files.h')
-rw-r--r-- | busybox/networking/udhcp/files.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/busybox/networking/udhcp/files.h b/busybox/networking/udhcp/files.h new file mode 100644 index 0000000..279738a --- /dev/null +++ b/busybox/networking/udhcp/files.h @@ -0,0 +1,17 @@ +/* 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); + +#endif |