summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/session.h
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2004-04-27 09:46:36 +0000
committerdjm <djm@openbsd.org>2004-04-27 09:46:36 +0000
commite6440d8d55936dda42ce19212605d87e06b06cda (patch)
tree55bc51e3d55a1077a2150e42ffa7c511a4ab5e4b /usr.bin/ssh/session.h
parentdo not link ssltest.c into libssl, stops main/doit symbols from being (diff)
downloadwireguard-openbsd-e6440d8d55936dda42ce19212605d87e06b06cda.tar.xz
wireguard-openbsd-e6440d8d55936dda42ce19212605d87e06b06cda.zip
bz #815: implement ability to pass specified environment variables from the
client to the server; ok markus@
Diffstat (limited to 'usr.bin/ssh/session.h')
-rw-r--r--usr.bin/ssh/session.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/ssh/session.h b/usr.bin/ssh/session.h
index 405b8fe8a91..e525066520d 100644
--- a/usr.bin/ssh/session.h
+++ b/usr.bin/ssh/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.22 2004/04/27 09:46:37 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -53,6 +53,11 @@ struct Session {
/* proto 2 */
int chanid;
int is_subsystem;
+ int num_env;
+ struct {
+ char *name;
+ char *val;
+ } *env;
};
void do_authenticated(Authctxt *);