diff options
author | Colin Watson <cjwatson@ubuntu.com> | 2014-02-09 16:09:57 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 17:09:56 +0100 |
commit | 1197fd975ab8fd11b1ac83557ef750129b16c0d8 (patch) | |
tree | ab0af14bf4b460ffcb98e1aa6bb5d3f7032acf7d /session.h | |
parent | 5496170cd67abb653e385277bd83b69f1b10905d (diff) |
Add support for registering ConsoleKit sessions on login
Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1450
Last-Updated: 2015-08-19
Patch-Name: consolekit.patch
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -26,6 +26,8 @@ | |||
26 | #ifndef SESSION_H | 26 | #ifndef SESSION_H |
27 | #define SESSION_H | 27 | #define SESSION_H |
28 | 28 | ||
29 | struct _CkConnector; | ||
30 | |||
29 | #define TTYSZ 64 | 31 | #define TTYSZ 64 |
30 | typedef struct Session Session; | 32 | typedef struct Session Session; |
31 | struct Session { | 33 | struct Session { |
@@ -61,6 +63,10 @@ struct Session { | |||
61 | char *name; | 63 | char *name; |
62 | char *val; | 64 | char *val; |
63 | } *env; | 65 | } *env; |
66 | |||
67 | #ifdef USE_CONSOLEKIT | ||
68 | struct _CkConnector *ckc; | ||
69 | #endif /* USE_CONSOLEKIT */ | ||
64 | }; | 70 | }; |
65 | 71 | ||
66 | void do_authenticated(Authctxt *); | 72 | void do_authenticated(Authctxt *); |