1 /* conf.h - config file parser */ 2 3 #ifndef CONF_H 4 #define CONF_H 5 6 #include <stdio.h> 7 8 #define CONF_MAX_LINE 16384 9 10 struct conf_entry 11 { 12 struct conf_entry *next; 13 char *key; 14 char *value; 15 }; 16 17 struct conf_entry *conf_parse (FILE *f); 18 void conf_free (struct conf_entry *e); 19 20 #endif /* !CONF_H */ 21