ctstats/configfile.h

16 lines
436 B
C
Raw Permalink Normal View History

2007-03-24 19:49:30 +01:00
#ifndef _CONFIG_H_
#define _CONFIG_H_
int config_parse(const char *config);
2007-03-31 21:16:52 +02:00
void config_free(void);
2007-03-24 19:49:30 +01:00
2007-03-31 21:16:52 +02:00
const char * config_get_string(const char *section_str, const char *option, const char *def);
2007-03-24 19:49:30 +01:00
int config_get_int(const char *section, const char *option, int def);
int config_get_strings(const char *section_str, const char *option,
int (*callback)(const char *value, void *privdata),
void *privdata);
#endif /* _CONFIG_H_ */