summaryrefslogtreecommitdiff
path: root/engine/dconf-engine-source-private.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-01-09 13:50:13 -0500
committerRyan Lortie <desrt@desrt.ca>2013-01-09 15:29:37 -0500
commitc15a1e3970e7c1567f6022bd85d9ab3267b08129 (patch)
tree0eab5df59bd17311a3de350fbb6a776ba3865291 /engine/dconf-engine-source-private.h
parent3f1b8d8bddbd35a801332e243f16b57c1eab815c (diff)
downloaddconf-c15a1e3970e7c1567f6022bd85d9ab3267b08129.tar.gz
engine: add a new database type: "service-db"
service-db databases are based on a gvdb in the user runtime dir maintained by the dconf-service. On startup, the client will send an Init message to the service to ensure that the database is properly initialised. After that, things are pretty much the same except that the values are read from the file in the runtime dir instead of from the home directory. We also drop the "shm" signalling mechanism for this case and instead use the same invalidation trick that system databases use (ie: overwriting the old gvdb header after writing the new file).
Diffstat (limited to 'engine/dconf-engine-source-private.h')
-rw-r--r--engine/dconf-engine-source-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/dconf-engine-source-private.h b/engine/dconf-engine-source-private.h
index 822354a..e0b943d 100644
--- a/engine/dconf-engine-source-private.h
+++ b/engine/dconf-engine-source-private.h
@@ -26,6 +26,7 @@
#include "dconf-engine-source.h"
G_GNUC_INTERNAL extern const DConfEngineSourceVTable dconf_engine_source_user_vtable;
+G_GNUC_INTERNAL extern const DConfEngineSourceVTable dconf_engine_source_service_vtable;
G_GNUC_INTERNAL extern const DConfEngineSourceVTable dconf_engine_source_system_vtable;
#endif /* __dconf_engine_source_private_h__ */