12 #ifndef INCLUDE_CONFPARSE_H_ 13 #define INCLUDE_CONFPARSE_H_ int getconf(char **conf, struct conf_keywords const keywords[], char **arg)
Return the next keyword token and set the optional argument.
Definition: confparse.c:81
Definition: confparse.h:15
char const * keyword
Definition: confparse.h:16
int key
Definition: confparse.h:17
char * readconf(char const *path)
Open a config file, read contents to memory.
Definition: confparse.c:50
int hasconf(char const *path)
Check if a file exists and can be read.
Definition: confparse.c:45