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 000000000..279738adf --- /dev/null +++ b/busybox/networking/udhcp/files.h | |||
@@ -0,0 +1,17 @@ | |||
1 | /* files.h */ | ||
2 | #ifndef _FILES_H | ||
3 | #define _FILES_H | ||
4 | |||
5 | struct config_keyword { | ||
6 | const char *keyword; | ||
7 | int (* const handler)(const char *line, void *var); | ||
8 | void *var; | ||
9 | const char *def; | ||
10 | }; | ||
11 | |||
12 | |||
13 | int read_config(const char *file); | ||
14 | void write_leases(void); | ||
15 | void read_leases(const char *file); | ||
16 | |||
17 | #endif | ||