diff options
author | Colin Watson <cjwatson@debian.org> | 2012-10-31 10:35:38 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2012-10-31 10:35:38 +0000 |
commit | 301aad188299b268452af6b67261336c88f44ab1 (patch) | |
tree | 5ec34d429196f17ea6eb2205ca8f96da32b09dd1 /session.h | |
parent | 5cb249b209c170d817471b575b6d105094f137bc (diff) |
* Merge from Ubuntu:
- Add support for registering ConsoleKit sessions on login. (This is
currently enabled only when building for Ubuntu.)
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 { |
@@ -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 | ||
65 | void do_authenticated(Authctxt *); | 71 | void do_authenticated(Authctxt *); |