From b2be103bd606291319dc312f07d1f3fcbfdf634c Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Wed, 10 Oct 2007 13:39:15 -0400 Subject: maintain a file with the dump of the local database This feature is useful for programs wanting to read the database without going through the D-Bus interface. This is sometimes desirable when both performance and runtime dependencies are important. For security reasons the file is only readable for the super user. --- src/ck-session.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ck-session.h') diff --git a/src/ck-session.h b/src/ck-session.h index fea3a71..8c5c00e 100644 --- a/src/ck-session.h +++ b/src/ck-session.h @@ -74,6 +74,9 @@ CkSession * ck_session_new_with_parameters (const char *ss const char *cookie, const GPtrArray *parameters); +void ck_session_dump (CkSession *session, + GKeyFile *key_file); + gboolean ck_session_set_active (CkSession *session, gboolean active, GError **error); -- cgit