| Top |
| gboolean | xfconf_init () |
| void | xfconf_shutdown () |
| void | xfconf_named_struct_register () |
| void | xfconf_array_free () |
| gchar ** | xfconf_list_channels () |
Before libxfconf can be used, it must be initialized by calling
xfconf_init(). To free resources used by the library, call
xfconf_shutdown(). These calls are "recursive": multiple calls to
xfconf_init() are allowed, but each call must be matched by a
separate call to xfconf_shutdown() to really free the library's
resources.
gboolean
xfconf_init (GError **error);
Initializes the Xfconf library. Can be called multiple times with no adverse effects.
void
xfconf_shutdown (void);
Shuts down and frees any resources consumed by the Xfconf library.
If xfconf_init() is called multiple times, xfconf_shutdown() must be
called an equal number of times to shut down the library.
void xfconf_named_struct_register (const gchar *struct_name,guint n_members,const GType *member_types);
Registers a named struct for use with xfconf_channel_get_named_struct()
and xfconf_channel_set_named_struct().
struct_name |
The unique name of the struct to register. |
|
n_members |
The number of data members in the struct. |
|
member_types |
An array of the GTypes of the struct members. |
void
xfconf_array_free (GPtrArray *arr);
Properly frees a GPtrArray structure containing a list of GValues. This will also cause the contents of the values to be freed as well.
gchar **
xfconf_list_channels (void);
Lists all channels known in the Xfconf configuration store.
A newly-allocated array of strings.
Free with g_strfreev() when no longer needed.
[transfer full][array zero-terminated=1][type utf8]