aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/files.h')
-rw-r--r--networking/udhcp/files.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h
new file mode 100644
index 000000000..03acee2fc
--- /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