summaryrefslogtreecommitdiff
path: root/service/dconf-state.h
blob: 8bbe6124c49c58ec3fdb4db1f123606bcf2b056d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __dconf_state_h__
#define __dconf_state_h__

#include <glib.h>

typedef struct
{
  gboolean is_session;
  GMainLoop *main_loop;
  guint64 serial;
  gchar *db_dir;
  gchar *shm_dir;
  gchar *id;
} DConfState;

void                    dconf_state_init                                (DConfState  *state);
void                    dconf_state_set_id                              (DConfState  *state,
                                                                         const gchar *id);
void                    dconf_state_destroy                             (DConfState  *state);
gchar *                 dconf_state_get_tag                             (DConfState  *state);

#endif /* __dconf_state_h__ */