/* * The interface to cgit's config file reader. A caller names a file and passes * a callback that receives every name and value in it, in the order they * appear. */ #ifndef CGIT_CONFIG_H #define CGIT_CONFIG_H #include "cgit.h" typedef void (*config_file_value_fn)(const char *name, const char *value); extern int config_file_parse(const char *filename, config_file_value_fn fn); #endif // CGIT_CONFIG_H