summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:57 +0000
committerColin Watson <cjwatson@debian.org>2014-02-09 23:43:40 +0000
commit05609b1cb381eafb999214bf4a95138e63abdbf2 (patch)
treef6adc60829e0310ab4fcafca21d7f1b9d62c88c0 /session.h
parent84589dc348c43ec22b50ede0c2946cf6afd0980d (diff)
Add support for registering ConsoleKit sessions on login
Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1450 Last-Updated: 2013-09-14 Patch-Name: consolekit.patch
Diffstat (limited to 'session.h')
-rw-r--r--session.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/session.h b/session.h
index cb4f19600..7e51b6ae1 100644
--- a/session.h
+++ b/session.h
@@ -26,6 +26,8 @@
26#ifndef SESSION_H 26#ifndef SESSION_H
27#define SESSION_H 27#define SESSION_H
28 28
29struct _CkConnector;
30
29#define TTYSZ 64 31#define TTYSZ 64
30typedef struct Session Session; 32typedef struct Session Session;
31struct Session { 33struct Session {
@@ -60,6 +62,10 @@ struct Session {
60 char *name; 62 char *name;
61 char *val; 63 char *val;
62 } *env; 64 } *env;
65
66#ifdef USE_CONSOLEKIT
67 struct _CkConnector *ckc;
68#endif /* USE_CONSOLEKIT */
63}; 69};
64 70
65void do_authenticated(Authctxt *); 71void do_authenticated(Authctxt *);