diff options
author | Russ Dill <Russ.Dill@asu.edu> | 2002-10-14 21:41:28 +0000 |
---|---|---|
committer | Russ Dill <Russ.Dill@asu.edu> | 2002-10-14 21:41:28 +0000 |
commit | 61fb48930f45aa536584b2047f9e703186e8f69f (patch) | |
tree | e3b93e0a694be81939f8c4762553c43ffdb9b10b /networking/udhcp/files.h | |
parent | 9060a7315980bb05f42eab76b88746d43e138188 (diff) | |
download | busybox-w32-61fb48930f45aa536584b2047f9e703186e8f69f.tar.gz busybox-w32-61fb48930f45aa536584b2047f9e703186e8f69f.tar.bz2 busybox-w32-61fb48930f45aa536584b2047f9e703186e8f69f.zip |
added full udhcp integration
Diffstat (limited to 'networking/udhcp/files.h')
-rw-r--r-- | networking/udhcp/files.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h new file mode 100644 index 000000000..1f2638fe9 --- /dev/null +++ b/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 | char keyword[14]; | ||
7 | int (*handler)(char *line, void *var); | ||
8 | void *var; | ||
9 | char def[30]; | ||
10 | }; | ||
11 | |||
12 | |||
13 | int read_config(char *file); | ||
14 | void write_leases(void); | ||
15 | void read_leases(char *file); | ||
16 | |||
17 | #endif | ||