|
| int | snd_config_substitute (snd_config_t *dst, snd_config_t *src) |
| | Substitutes one configuration node to another. More...
|
| |
| int | snd_config_get_type_ascii (const char *ascii, snd_config_type_t *type) |
| | Converts an ASCII string to a configuration node type. More...
|
| |
| snd_config_type_t | snd_config_get_type (const snd_config_t *config) |
| | Returns the type of a configuration node. More...
|
| |
| int | snd_config_is_array (const snd_config_t *config) |
| | Returns if the compound is an array (and count of items). More...
|
| |
| int | snd_config_is_empty (const snd_config_t *config) |
| | Returns if the compound has no fields (is empty). More...
|
| |
| int | snd_config_get_id (const snd_config_t *config, const char **id) |
| | Returns the id of a configuration node. More...
|
| |
| int | snd_config_set_id (snd_config_t *config, const char *id) |
| | Sets the id of a configuration node. More...
|
| |
| int | snd_config_top (snd_config_t **config) |
| | Creates a top level configuration node. More...
|
| |
| int | snd_config_load (snd_config_t *config, snd_input_t *in) |
| | Loads a configuration tree. More...
|
| |
| int | snd_config_load_string (snd_config_t **config, const char *s, size_t size) |
| | Loads a configuration tree from a string. More...
|
| |
| int | snd_config_load_override (snd_config_t *config, snd_input_t *in) |
| | Loads a configuration tree and overrides existing configuration nodes. More...
|
| |
| int | snd_config_add (snd_config_t *parent, snd_config_t *child) |
| | Adds a child to a compound configuration node. More...
|
| |
| int | snd_config_add_after (snd_config_t *after, snd_config_t *child) |
| | Adds a child after another child configuration node. More...
|
| |
| int | snd_config_add_before (snd_config_t *before, snd_config_t *child) |
| | Adds a child before another child configuration node. More...
|
| |
| int | snd_config_merge (snd_config_t *dst, snd_config_t *src, int override) |
| | In-place merge of two config handles. More...
|
| |
| int | snd_config_remove (snd_config_t *config) |
| | Removes a configuration node from its tree. More...
|
| |
| int | snd_config_delete (snd_config_t *config) |
| | Frees a configuration node. More...
|
| |
| int | snd_config_delete_compound_members (const snd_config_t *config) |
| | Deletes the children of a node. More...
|
| |
| int | snd_config_make (snd_config_t **config, const char *id, snd_config_type_t type) |
| | Creates a configuration node. More...
|
| |
| int | snd_config_make_integer (snd_config_t **config, const char *id) |
| | Creates an integer configuration node. More...
|
| |
| int | snd_config_make_integer64 (snd_config_t **config, const char *id) |
| | Creates a 64-bit-integer configuration node. More...
|
| |
| int | snd_config_make_real (snd_config_t **config, const char *id) |
| | Creates a real number configuration node. More...
|
| |
| int | snd_config_make_string (snd_config_t **config, const char *id) |
| | Creates a string configuration node. More...
|
| |
| int | snd_config_make_pointer (snd_config_t **config, const char *id) |
| | Creates a pointer configuration node. More...
|
| |
| int | snd_config_make_compound (snd_config_t **config, const char *id, int join) |
| | Creates an empty compound configuration node. More...
|
| |
| int | snd_config_make_path (snd_config_t **config, snd_config_t *root, const char *key, int join, int override) |
| | Creates an empty compound configuration node in the path. More...
|
| |
| int | snd_config_imake_integer (snd_config_t **config, const char *id, const long value) |
| | Creates an integer configuration node with the given initial value. More...
|
| |
| int | snd_config_imake_integer64 (snd_config_t **config, const char *id, const long long value) |
| | Creates a 64-bit-integer configuration node with the given initial value. More...
|
| |
| int | snd_config_imake_real (snd_config_t **config, const char *id, const double value) |
| | Creates a real number configuration node with the given initial value. More...
|
| |
| int | snd_config_imake_string (snd_config_t **config, const char *id, const char *value) |
| | Creates a string configuration node with the given initial value. More...
|
| |
|
int | snd_config_imake_safe_string (snd_config_t **config, const char *id, const char *value) |
| |
| int | snd_config_imake_pointer (snd_config_t **config, const char *id, const void *value) |
| | Creates a pointer configuration node with the given initial value. More...
|
| |
| int | snd_config_set_integer (snd_config_t *config, long value) |
| | Changes the value of an integer configuration node. More...
|
| |
| int | snd_config_set_integer64 (snd_config_t *config, long long value) |
| | Changes the value of a 64-bit-integer configuration node. More...
|
| |
| int | snd_config_set_real (snd_config_t *config, double value) |
| | Changes the value of a real-number configuration node. More...
|
| |
| int | snd_config_set_string (snd_config_t *config, const char *value) |
| | Changes the value of a string configuration node. More...
|
| |
| int | snd_config_set_pointer (snd_config_t *config, const void *value) |
| | Changes the value of a pointer configuration node. More...
|
| |
| int | snd_config_set_ascii (snd_config_t *config, const char *ascii) |
| | Changes the value of a configuration node. More...
|
| |
| int | snd_config_get_integer (const snd_config_t *config, long *ptr) |
| | Returns the value of an integer configuration node. More...
|
| |
| int | snd_config_get_integer64 (const snd_config_t *config, long long *ptr) |
| | Returns the value of a 64-bit-integer configuration node. More...
|
| |
| int | snd_config_get_real (const snd_config_t *config, double *ptr) |
| | Returns the value of a real-number configuration node. More...
|
| |
| int | snd_config_get_ireal (const snd_config_t *config, double *ptr) |
| | Returns the value of a real or integer configuration node. More...
|
| |
| int | snd_config_get_string (const snd_config_t *config, const char **ptr) |
| | Returns the value of a string configuration node. More...
|
| |
| int | snd_config_get_pointer (const snd_config_t *config, const void **ptr) |
| | Returns the value of a pointer configuration node. More...
|
| |
| int | snd_config_get_ascii (const snd_config_t *config, char **ascii) |
| | Returns the value of a configuration node as a string. More...
|
| |
| int | snd_config_test_id (const snd_config_t *config, const char *id) |
| | Compares the id of a configuration node to a given string. More...
|
| |
| int | snd_config_save (snd_config_t *config, snd_output_t *out) |
| | Dumps the contents of a configuration node or tree. More...
|
|