summaryrefslogtreecommitdiffstats
path: root/src/ck-seat.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-seat.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-seat.h')
-rw-r--r--src/ck-seat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ck-seat.h b/src/ck-seat.h
index 63ab3d5..5977781 100644
--- a/src/ck-seat.h
+++ b/src/ck-seat.h
@@ -90,6 +90,10 @@ CkSeat * ck_seat_new_from_file (const char *sid,
CkSeat * ck_seat_new_with_devices (const char *sid,
CkSeatKind kind,
GPtrArray *devices);
+
+void ck_seat_dump (CkSeat *seat,
+ GKeyFile *key_file);
+
gboolean ck_seat_get_kind (CkSeat *seat,
CkSeatKind *kind,
GError **error);