Various cleanups I made while going through Erik Hovland's patch submissions,
[oweals/busybox.git] / networking / udhcp / files.h
index 1f2638fe98f5ec9ef8748729304594c3daa06dd6..03acee2fcb41b9d2f28267546e41ec7f25c7b1bf 100644 (file)
@@ -3,15 +3,17 @@
 #define _FILES_H
 
 struct config_keyword {
-       char keyword[14];
-       int (*handler)(char *line, void *var);
+       const char *keyword;
+       int (* const handler)(const char *line, void *var);
        void *var;
-       char def[30];
+       const char *def;
 };
 
 
-int read_config(char *file);
+int read_config(const char *file);
 void write_leases(void);
-void read_leases(char *file);
+void read_leases(const char *file);
+
+struct option_set *find_option(struct option_set *opt_list, char code);
 
 #endif