summaryrefslogtreecommitdiffstats
path: root/src/ck-session.h
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2007-10-10 13:39:15 -0400
committerWilliam Jon McCann <mccann@jhu.edu>2007-10-10 13:39:15 -0400
commitb2be103bd606291319dc312f07d1f3fcbfdf634c (patch)
tree54e295f2e273b6d2a6451ac5eec537d762d1d814 /src/ck-session.h
parentbd43c78b3ab2ec7f85b17cca46d4b46f8671cd29 (diff)
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.
Diffstat (limited to 'src/ck-session.h')
-rw-r--r--src/ck-session.h3
1 files changed, 3 insertions, 0 deletions
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);