40#define SCCONF_PRESENT 0x00000001
41#define SCCONF_MANDATORY 0x00000002
42#define SCCONF_ALLOC 0x00000004
43#define SCCONF_ALL_BLOCKS 0x00000008
44#define SCCONF_VERBOSE 0x00000010
47#define SCCONF_CALLBACK 1
51#define SCCONF_BOOLEAN 11
52#define SCCONF_INTEGER 12
53#define SCCONF_STRING 13
62#define SCCONF_ITEM_TYPE_COMMENT 0
63#define SCCONF_ITEM_TYPE_BLOCK 1
64#define SCCONF_ITEM_TYPE_VALUE 2
scconf_block ** scconf_find_blocks(const scconf_context *config, const scconf_block *block, const char *item_name, const char *key)
int scconf_write_entries(scconf_context *config, scconf_block *block, scconf_entry *entry)
int scconf_write(scconf_context *config, const char *filename)
const char * scconf_get_str(const scconf_block *block, const char *option, const char *def)
struct _scconf_list scconf_list
char * scconf_list_strdup(const scconf_list *list, const char *filler)
scconf_block * scconf_block_add(scconf_context *config, scconf_block *block, const char *key, const scconf_list *name)
struct _scconf_entry scconf_entry
const scconf_block * scconf_find_block(const scconf_context *config, const scconf_block *block, const char *item_name)
const char * scconf_put_str(scconf_block *block, const char *option, const char *value)
void scconf_item_destroy(scconf_item *item)
const scconf_list * scconf_find_list(const scconf_block *block, const char *option)
scconf_item * scconf_item_copy(const scconf_item *src, scconf_item **dst)
void scconf_block_destroy(scconf_block *block)
scconf_context * scconf_new(const char *filename)
int scconf_list_array_length(const scconf_list *list)
void scconf_free(scconf_context *config)
const char ** scconf_list_toarray(const scconf_list *list)
int scconf_put_bool(scconf_block *block, const char *option, int value)
int scconf_parse_string(scconf_context *config, const char *string)
struct _scconf_block scconf_block
scconf_block * scconf_block_copy(const scconf_block *src, scconf_block **dst)
int scconf_put_int(scconf_block *block, const char *option, int value)
scconf_list * scconf_list_add(scconf_list **list, const char *value)
scconf_item * scconf_item_add(scconf_context *config, scconf_block *block, scconf_item *item, int type, const char *key, const void *data)
void scconf_list_destroy(scconf_list *list)
int scconf_get_bool(const scconf_block *block, const char *option, int def)
struct _scconf_item scconf_item
int scconf_list_strings_length(const scconf_list *list)
scconf_list * scconf_list_copy(const scconf_list *src, scconf_list **dst)
int scconf_get_int(const scconf_block *block, const char *option, int def)
int scconf_parse_entries(const scconf_context *config, const scconf_block *block, scconf_entry *entry)
int scconf_parse(scconf_context *config)
union _scconf_item::@125036262375344023160164043363017225002377064032 value
struct _scconf_item * next
struct _scconf_list * next