added full udhcp integration
This commit is contained in:
17
networking/udhcp/files.h
Normal file
17
networking/udhcp/files.h
Normal file
@@ -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
|
Reference in New Issue
Block a user