18 lines
256 B
C
18 lines
256 B
C
|
/* 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
|