summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/session.h b/session.h
index e3123beed..ec8284a5f 100644
--- a/session.h
+++ b/session.h
@@ -26,32 +26,6 @@
26#ifndef SESSION_H 26#ifndef SESSION_H
27#define SESSION_H 27#define SESSION_H
28 28
29#define TTYSZ 64
30typedef struct Session Session;
31struct Session {
32 int used;
33 int self;
34 struct passwd *pw;
35 Authctxt *authctxt;
36 pid_t pid;
37 /* tty */
38 char *term;
39 int ptyfd, ttyfd, ptymaster;
40 int row, col, xpixel, ypixel;
41 char tty[TTYSZ];
42 /* X11 */
43 int display_number;
44 char *display;
45 int screen;
46 char *auth_display;
47 char *auth_proto;
48 char *auth_data;
49 int single_connection;
50 /* proto 2 */
51 int chanid;
52 int is_subsystem;
53};
54
55void do_authenticated(Authctxt *); 29void do_authenticated(Authctxt *);
56 30
57int session_open(Authctxt*, int); 31int session_open(Authctxt*, int);
@@ -60,6 +34,4 @@ void session_close_by_pid(pid_t, int);
60void session_close_by_channel(int, void *); 34void session_close_by_channel(int, void *);
61void session_destroy_all(void); 35void session_destroy_all(void);
62 36
63Session *session_new(void);
64void session_close(Session *);
65#endif 37#endif