#include <glib.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "xmmsc/xmmsc_idnumbers.h"
#include "xmmspriv/xmms_config.h"
#include "xmmspriv/xmms_utils.h"
#include "xmms/xmms_ipc.h"
#include "xmms/xmms_log.h"
#include "config_ipc.c"
Go to the source code of this file.
|
| const gchar * | xmms_config_property_lookup_get_string (xmms_config_t *conf, const gchar *key, xmms_error_t *err) |
| | Config functions. More...
|
| |
| xmms_config_property_t * | xmms_config_lookup (const gchar *path) |
| | Look up a config key from the global config. More...
|
| |
| const gchar * | xmms_config_property_get_name (const xmms_config_property_t *prop) |
| | Get the name of a config property. More...
|
| |
| 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. More...
|
| |
| const gchar * | xmms_config_property_get_string (const xmms_config_property_t *prop) |
| | Return the value of a config property as a string. More...
|
| |
| gint | xmms_config_property_get_int (const xmms_config_property_t *prop) |
| | Return the value of a config property as an int. More...
|
| |
| gfloat | xmms_config_property_get_float (const xmms_config_property_t *prop) |
| | Return the value of a config property as a float. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| 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. More...
|
| |
| void | xmms_config_init (const gchar *filename) |
| |
| void | xmms_config_shutdown () |
| |
| gboolean | xmms_config_save (void) |
| |
◆ dump_tree_data_t
◆ xmms_configparser_state_t
| Enumerator |
|---|
| XMMS_CONFIG_STATE_INVALID | |
| XMMS_CONFIG_STATE_START | |
| XMMS_CONFIG_STATE_SECTION | |
| XMMS_CONFIG_STATE_PROPERTY | |
Definition at line 44 of file config.c.
◆ xmms_config_init()
| void xmms_config_init |
( |
const gchar * |
filename | ) |
|
◆ xmms_config_save()
| gboolean xmms_config_save |
( |
void |
| ) |
|
◆ xmms_config_shutdown()
| void xmms_config_shutdown |
( |
void |
| ) |
|