Defines |
#define | XMMS_CONFIG_VERSION 2 |
| Config file version.
|
Typedefs |
typedef struct dump_tree_data_St | dump_tree_data_t |
Enumerations |
enum | xmms_configparser_state_t { XMMS_CONFIG_STATE_INVALID,
XMMS_CONFIG_STATE_START,
XMMS_CONFIG_STATE_SECTION,
XMMS_CONFIG_STATE_PROPERTY
} |
Functions |
const gchar * | xmms_config_property_lookup_get_string (xmms_config_t *conf, const gchar *key, xmms_error_t *err) |
| Config functions.
|
xmms_config_property_t * | xmms_config_lookup (const gchar *path) |
| Look up a config key from the global config.
|
const gchar * | xmms_config_property_get_name (const xmms_config_property_t *prop) |
| Get the name of a config property.
|
void | xmms_config_property_set_data (xmms_config_property_t *prop, const gchar *data) |
| Set the data of the config property to a new value.
|
const gchar * | xmms_config_property_get_string (const xmms_config_property_t *prop) |
| Return the value of a config property as a string.
|
gint | xmms_config_property_get_int (const xmms_config_property_t *prop) |
| Return the value of a config property as an int.
|
gfloat | xmms_config_property_get_float (const xmms_config_property_t *prop) |
| Return the value of a config property as a float.
|
void | xmms_config_property_callback_set (xmms_config_property_t *prop, xmms_object_handler_t cb, gpointer userdata) |
| Set a callback function for a config property.
|
void | xmms_config_property_callback_remove (xmms_config_property_t *prop, xmms_object_handler_t cb, gpointer userdata) |
| Remove a callback from a config property.
|
xmms_config_property_t * | xmms_config_property_register (const gchar *path, const gchar *default_value, xmms_object_handler_t cb, gpointer userdata) |
| Register a new config property.
|
void | xmms_config_init (const gchar *filename) |
void | xmms_config_shutdown () |
gboolean | xmms_config_save (void) |