summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/session.h')
-rw-r--r--crypto/openssh/session.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/crypto/openssh/session.h b/crypto/openssh/session.h
index 405b8fe..48be507 100644
--- a/crypto/openssh/session.h
+++ b/crypto/openssh/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.21 2003/09/23 20:17:11 markus Exp $ */
+/* $OpenBSD: session.h,v 1.23 2004/07/17 05:31:41 dtucker Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -39,9 +39,6 @@ struct Session {
int ptyfd, ttyfd, ptymaster;
u_int row, col, xpixel, ypixel;
char tty[TTYSZ];
- /* last login */
- char hostname[MAXHOSTNAMELEN];
- time_t last_login_time;
/* X11 */
u_int display_number;
char *display;
@@ -53,6 +50,11 @@ struct Session {
/* proto 2 */
int chanid;
int is_subsystem;
+ int num_env;
+ struct {
+ char *name;
+ char *val;
+ } *env;
};
void do_authenticated(Authctxt *);
OpenPOWER on IntegriCloud