diff options
author | Damien Miller <djm@mindrot.org> | 2002-03-13 13:19:42 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-03-13 13:19:42 +1100 |
commit | 3a5b0233306a3db3a5db5b9ddc187c55e9b251f4 (patch) | |
tree | 86478addb63771a9a1be0e13cfbdea9f964f963a /session.h | |
parent | 3225fb454d0e79cf6f824dd00ff478749620277b (diff) |
Stupid djm commits experimental code to head instead of branch
revert
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -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 | ||
30 | typedef struct Session Session; | ||
31 | struct 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 | |||
55 | void do_authenticated(Authctxt *); | 29 | void do_authenticated(Authctxt *); |
56 | 30 | ||
57 | int session_open(Authctxt*, int); | 31 | int session_open(Authctxt*, int); |
@@ -60,6 +34,4 @@ void session_close_by_pid(pid_t, int); | |||
60 | void session_close_by_channel(int, void *); | 34 | void session_close_by_channel(int, void *); |
61 | void session_destroy_all(void); | 35 | void session_destroy_all(void); |
62 | 36 | ||
63 | Session *session_new(void); | ||
64 | void session_close(Session *); | ||
65 | #endif | 37 | #endif |