summaryrefslogtreecommitdiff
path: root/service/dconf-writer.h
blob: 19b0945ab8a3403efb843f6380a38401d25dd7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <glib.h>

typedef struct OPAQUE_TYPE__DConfWriter DConfWriter;

const gchar *           dconf_writer_get_shm_dir                        (void);
gchar **                dconf_writer_list_existing                      (void);
void                    dconf_writer_init                               (void);
DConfWriter *           dconf_writer_new                                (const gchar          *name);
gboolean                dconf_writer_write                              (DConfWriter          *writer,
                                                                         const gchar          *name,
                                                                         GVariant             *value,
                                                                         GError              **error);
gboolean                dconf_writer_write_many                         (DConfWriter          *writer,
                                                                         const gchar          *prefix,
                                                                         const gchar * const  *keys,
                                                                         GVariant * const     *values,
                                                                         gsize n_items,
                                                                         GError              **error);
gboolean                dconf_writer_set_lock                           (DConfWriter          *writer,
                                                                         const gchar          *name,
                                                                         gboolean              locked,
                                                                         GError              **error);