summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/session.h b/session.h
index cbb8e3a32..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 *);
@@ -76,7 +82,7 @@ void session_pty_cleanup2(Session *);
76Session *session_new(void); 82Session *session_new(void);
77Session *session_by_tty(char *); 83Session *session_by_tty(char *);
78void session_close(Session *); 84void session_close(Session *);
79void do_setusercontext(struct passwd *); 85void do_setusercontext(struct passwd *, const char *);
80void child_set_env(char ***envp, u_int *envsizep, const char *name, 86void child_set_env(char ***envp, u_int *envsizep, const char *name,
81 const char *value); 87 const char *value);
82 88