XmmsClient
|
This controls configuration values on the XMMS server. More...
Functions | |
xmmsc_result_t * | xmmsc_config_register_value (xmmsc_connection_t *c, const char *key, const char *value) |
Registers a configvalue in the server. More... | |
xmmsc_result_t * | xmmsc_config_set_value (xmmsc_connection_t *c, const char *key, const char *val) |
Sets a configvalue in the server. More... | |
xmmsc_result_t * | xmmsc_config_get_value (xmmsc_connection_t *c, const char *key) |
Retrieves a configvalue from the server. More... | |
xmmsc_result_t * | xmmsc_config_list_values (xmmsc_connection_t *c) |
Lists all configuration values. More... | |
xmmsc_result_t * | xmmsc_broadcast_config_value_changed (xmmsc_connection_t *c) |
Requests the config_value_changed broadcast. More... | |
This controls configuration values on the XMMS server.
xmmsc_result_t* xmmsc_broadcast_config_value_changed | ( | xmmsc_connection_t * | c | ) |
Requests the config_value_changed broadcast.
This will be called when a configvalue has been updated.
c | The connection structure. |
xmmsc_result_t* xmmsc_config_get_value | ( | xmmsc_connection_t * | c, |
const char * | key | ||
) |
Retrieves a configvalue from the server.
c | The connection structure. |
key | The key of the configval to retrieve. |
xmmsc_result_t* xmmsc_config_list_values | ( | xmmsc_connection_t * | c | ) |
Lists all configuration values.
c | The connection structure. |
xmmsc_result_t* xmmsc_config_register_value | ( | xmmsc_connection_t * | c, |
const char * | key, | ||
const char * | value | ||
) |
Registers a configvalue in the server.
c | The connection structure. |
key | should be <clientname>.myval like cli.path or something like that. |
value | The default value of this config value. |
xmmsc_result_t* xmmsc_config_set_value | ( | xmmsc_connection_t * | c, |
const char * | key, | ||
const char * | val | ||
) |
Sets a configvalue in the server.
c | The connection structure. |
key | The key of the configval to set a value for. |
val | The new value of the configval. |