X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/be2ca0c95a7bca195f3c7626365f4994af30d34b..f8f89bae5e11c9c8e1895f0b62b0bdf80a5539fc:/session.h diff --git a/session.h b/session.h index 48be5070..ee9338e4 100644 --- a/session.h +++ b/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.23 2004/07/17 05:31:41 dtucker Exp $ */ +/* $OpenBSD: session.h,v 1.29 2006/08/03 03:34:42 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,14 +49,16 @@ struct Session { char *auth_proto; char *auth_data; int single_connection; + /* proto 2 */ int chanid; + int *x11_chanids; int is_subsystem; - int num_env; + u_int num_env; struct { char *name; char *val; - } *env; + } *env; }; void do_authenticated(Authctxt *);