9 #ifndef _SQUAREBALL_CONFIGPARSER_H 10 #define _SQUAREBALL_CONFIGPARSER_H 40 const char *list_sections[],
sb_error_t **err);
87 const char *key,
const char *default_);
sb_config_t * sb_config_parse(const char *src, size_t src_len, const char *list_sections[], sb_error_t **err)
Singly-linked list implementation.
char ** sb_config_list_keys(sb_config_t *config, const char *section)
char ** sb_config_list_sections(sb_config_t *config)
char ** sb_config_get_list(sb_config_t *config, const char *section)
Implementation of a trie data structure.
Error reporting infrastructure.
const char * sb_config_get_with_default(sb_config_t *config, const char *section, const char *key, const char *default_)
void sb_config_free(sb_config_t *config)
const char * sb_config_get(sb_config_t *config, const char *section, const char *key)
struct _sb_config_t sb_config_t
Definition: sb-configparser.h:27
struct _sb_error_t sb_error_t
Definition: sb-error.h:71