Defines |
#define | PATH_TOKENS ":./" |
#define | CHUNK_SIZE 10 |
#define | FLOAT_PRECISION 10 |
#define | _new(T) (T *)calloc(sizeof(T), 1) |
#define | _delete(P) free((void *)(P)) |
Functions |
int | libconfig_yyparse (void *scanner, struct parse_context *ctx) |
int | config_read (config_t *config, FILE *stream) |
int | config_read_file (config_t *config, const char *filename) |
void | config_destroy (config_t *config) |
void | config_init (config_t *config) |
void | config_set_auto_convert (config_t *config, int flag) |
int | config_get_auto_convert (const config_t *config) |
long | config_setting_get_int (const config_setting_t *setting) |
long long | config_setting_get_int64 (const config_setting_t *setting) |
int | config_setting_lookup_int (const config_setting_t *setting, const char *name, long *value) |
int | config_setting_lookup_int64 (const config_setting_t *setting, const char *name, long long *value) |
int | config_setting_lookup_float (const config_setting_t *setting, const char *name, double *value) |
int | config_setting_lookup_string (const config_setting_t *setting, const char *name, const char **value) |
int | config_setting_lookup_bool (const config_setting_t *setting, const char *name, int *value) |
int | config_setting_set_int (config_setting_t *setting, long value) |
int | config_setting_set_int64 (config_setting_t *setting, long long value) |
double | config_setting_get_float (const config_setting_t *setting) |
int | config_setting_set_float (config_setting_t *setting, double value) |
int | config_setting_get_bool (const config_setting_t *setting) |
int | config_setting_set_bool (config_setting_t *setting, int value) |
const char * | config_setting_get_string (const config_setting_t *setting) |
int | config_setting_set_string (config_setting_t *setting, const char *value) |
int | config_setting_set_format (config_setting_t *setting, short format) |
short | config_setting_get_format (config_setting_t *setting) |
config_setting_t * | config_lookup (const config_t *config, const char *path) |
int | config_lookup_string (const config_t *config, const char *path, const char **value) |
int | config_lookup_int (const config_t *config, const char *path, long *value) |
int | config_lookup_int64 (const config_t *config, const char *path, long long *value) |
int | config_lookup_float (const config_t *config, const char *path, double *value) |
int | config_lookup_bool (const config_t *config, const char *path, int *value) |
long | config_setting_get_int_elem (const config_setting_t *vector, int idx) |
config_setting_t * | config_setting_set_int_elem (config_setting_t *vector, int idx, long value) |
long long | config_setting_get_int64_elem (const config_setting_t *vector, int idx) |
config_setting_t * | config_setting_set_int64_elem (config_setting_t *vector, int idx, long long value) |
double | config_setting_get_float_elem (const config_setting_t *vector, int idx) |
config_setting_t * | config_setting_set_float_elem (config_setting_t *vector, int idx, double value) |
int | config_setting_get_bool_elem (const config_setting_t *vector, int idx) |
config_setting_t * | config_setting_set_bool_elem (config_setting_t *vector, int idx, int value) |
const char * | config_setting_get_string_elem (const config_setting_t *vector, int idx) |
config_setting_t * | config_setting_set_string_elem (config_setting_t *vector, int idx, const char *value) |
config_setting_t * | config_setting_get_elem (const config_setting_t *vector, unsigned int idx) |
config_setting_t * | config_setting_get_member (const config_setting_t *setting, const char *name) |
void | config_set_destructor (config_t *config, void(*destructor)(void *)) |
int | config_setting_length (const config_setting_t *setting) |
void | config_setting_set_hook (config_setting_t *setting, void *hook) |
config_setting_t * | config_setting_add (config_setting_t *parent, const char *name, int type) |
int | config_setting_remove (config_setting_t *parent, const char *name) |
int | config_setting_remove_elem (config_setting_t *parent, unsigned int idx) |
int | config_setting_index (const config_setting_t *setting) |