From 301aad188299b268452af6b67261336c88f44ab1 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 31 Oct 2012 10:35:38 +0000 Subject: * Merge from Ubuntu: - Add support for registering ConsoleKit sessions on login. (This is currently enabled only when building for Ubuntu.) --- session.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'session.h') diff --git a/session.h b/session.h index cb4f19600..7e51b6ae1 100644 --- a/session.h +++ b/session.h @@ -26,6 +26,8 @@ #ifndef SESSION_H #define SESSION_H +struct _CkConnector; + #define TTYSZ 64 typedef struct Session Session; struct Session { @@ -60,6 +62,10 @@ struct Session { char *name; char *val; } *env; + +#ifdef USE_CONSOLEKIT + struct _CkConnector *ckc; +#endif /* USE_CONSOLEKIT */ }; void do_authenticated(Authctxt *); -- cgit v1.2.3