summaryrefslogtreecommitdiff
path: root/networking/udhcp/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/files.h')
-rw-r--r--networking/udhcp/files.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h
new file mode 100644
index 0000000..1f2638f
--- /dev/null
+++ b/networking/udhcp/files.h
@@ -0,0 +1,17 @@
+/* files.h */
+#ifndef _FILES_H
+#define _FILES_H
+
+struct config_keyword {
+ char keyword[14];
+ int (*handler)(char *line, void *var);
+ void *var;
+ char def[30];
+};
+
+
+int read_config(char *file);
+void write_leases(void);
+void read_leases(char *file);
+
+#endif