1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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