summaryrefslogtreecommitdiff
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/session.h b/session.h
index a2598a99..2b8175c4 100644
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.25 2005/07/17 06:49:04 djm Exp $ */
+/* $OpenBSD: session.h,v 1.26 2006/03/20 18:26:55 deraadt Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -34,11 +34,13 @@ struct Session {
struct passwd *pw;
Authctxt *authctxt;
pid_t pid;
+
/* tty */
char *term;
int ptyfd, ttyfd, ptymaster;
u_int row, col, xpixel, ypixel;
char tty[TTYSZ];
+
/* X11 */
u_int display_number;
char *display;
@@ -47,6 +49,7 @@ struct Session {
char *auth_proto;
char *auth_data;
int single_connection;
+
/* proto 2 */
int chanid;
int *x11_chanids;
@@ -55,7 +58,7 @@ struct Session {
struct {
char *name;
char *val;
- } *env;
+ } *env;
};
void do_authenticated(Authctxt *);