|
static config_file_t * | config_file_new_internal (const char *path, unsigned depth, config_file_cb_t *cb) |
|
static int | config_sort_compare_func (struct config_entry_list *a, struct config_entry_list *b) |
|
static struct config_entry_list * | merge_sort_linked_list (struct config_entry_list *list, int(*compare)(struct config_entry_list *one, struct config_entry_list *two)) |
|
static char * | strip_comment (char *str) |
|
static char * | extract_value (char *line, bool is_value) |
|
static void | add_child_list (config_file_t *parent, config_file_t *child) |
|
static void | add_sub_conf (config_file_t *conf, char *path, config_file_cb_t *cb) |
|
static bool | parse_line (config_file_t *conf, struct config_entry_list *list, char *line, config_file_cb_t *cb) |
|
void | config_file_free (config_file_t *conf) |
|
bool | config_append_file (config_file_t *conf, const char *path) |
|
config_file_t * | config_file_new_from_string (const char *from_string) |
|
config_file_t * | config_file_new_with_callback (const char *path, config_file_cb_t *cb) |
|
config_file_t * | config_file_new (const char *path) |
|
static struct config_entry_list * | config_get_entry (const config_file_t *conf, const char *key, struct config_entry_list **prev) |
|
bool | config_get_double (config_file_t *conf, const char *key, double *in) |
|
bool | config_get_float (config_file_t *conf, const char *key, float *in) |
|
bool | config_get_int (config_file_t *conf, const char *key, int *in) |
|
bool | config_get_size_t (config_file_t *conf, const char *key, size_t *in) |
|
bool | config_get_uint (config_file_t *conf, const char *key, unsigned *in) |
|
bool | config_get_hex (config_file_t *conf, const char *key, unsigned *in) |
|
bool | config_get_char (config_file_t *conf, const char *key, char *in) |
|
bool | config_get_string (config_file_t *conf, const char *key, char **str) |
|
bool | config_get_config_path (config_file_t *conf, char *s, size_t len) |
|
bool | config_get_array (config_file_t *conf, const char *key, char *buf, size_t size) |
|
bool | config_get_path (config_file_t *conf, const char *key, char *buf, size_t size) |
|
bool | config_get_bool (config_file_t *conf, const char *key, bool *in) |
|
void | config_set_string (config_file_t *conf, const char *key, const char *val) |
|
void | config_unset (config_file_t *conf, const char *key) |
|
void | config_set_path (config_file_t *conf, const char *entry, const char *val) |
|
void | config_set_double (config_file_t *conf, const char *key, double val) |
|
void | config_set_float (config_file_t *conf, const char *key, float val) |
|
void | config_set_int (config_file_t *conf, const char *key, int val) |
|
void | config_set_uint (config_file_t *conf, const char *key, unsigned int val) |
|
void | config_set_hex (config_file_t *conf, const char *key, unsigned val) |
|
void | config_set_uint64 (config_file_t *conf, const char *key, uint64_t val) |
|
void | config_set_char (config_file_t *conf, const char *key, char val) |
|
void | config_set_bool (config_file_t *conf, const char *key, bool val) |
|
bool | config_file_write (config_file_t *conf, const char *path) |
|
void | config_file_dump (config_file_t *conf, FILE *file) |
|
bool | config_entry_exists (config_file_t *conf, const char *entry) |
|
bool | config_get_entry_list_head (config_file_t *conf, struct config_file_entry *entry) |
|
bool | config_get_entry_list_next (struct config_file_entry *entry) |
|
bool | config_file_exists (const char *path) |
|