sammler/include/configfile.h

16 lines
436 B
C
Raw Normal View History

2006-06-13 21:34:36 +02:00
#ifndef _CONFIG_H_
#define _CONFIG_H_
2007-03-31 22:15:00 +02:00
int config_parse(const char *config);
void config_free(void);
2006-10-08 16:33:07 +02:00
2007-03-31 22:15:00 +02:00
const char * config_get_string(const char *section_str, const char *option, const char *def);
2006-06-13 21:34:36 +02:00
2007-03-31 22:15:00 +02:00
int config_get_int(const char *section, const char *option, int def);
2006-06-13 21:34:36 +02:00
2007-03-31 22:15:00 +02:00
int config_get_strings(const char *section_str, const char *option,
int (*callback)(const char *value, void *privdata),
void *privdata);
2006-06-13 21:34:36 +02:00
#endif /* _CONFIG_H_ */