#ifndef _BRICONF_H #define _BRICONF_H struct briconf_pair { char *key; char *value; }; struct briconf { struct briconf_pair *p; int max; int count; }; int parse_conf(const char *file,struct briconf *c); void free_conf(struct briconf *c); char *getval(struct briconf *c,const char *key,const char *def); char **getlist(struct briconf *c,const char *key); void free_list(char **list); #endif