summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-03-13 13:19:42 +1100
committerDamien Miller <djm@mindrot.org>2002-03-13 13:19:42 +1100
commit3a5b0233306a3db3a5db5b9ddc187c55e9b251f4 (patch)
tree86478addb63771a9a1be0e13cfbdea9f964f963a /session.h
parent3225fb454d0e79cf6f824dd00ff478749620277b (diff)
Stupid djm commits experimental code to head instead of branch
revert
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