summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authordtucker <dtucker>2004-05-02 12:11:30 +0000
committerdtucker <dtucker>2004-05-02 12:11:30 +0000
commite9cdbe5923e871dc16d5ec8a58705e200dacacf7 (patch)
treee4df3689deeb1843c6645f1245348242a8dd025b /servconf.h
parent0d6a72fff2a3a1065135ebcd0d7788fd31c1f4d1 (diff)
downloadopenssh-e9cdbe5923e871dc16d5ec8a58705e200dacacf7.tar.gz
- djm@cvs.openbsd.org 2004/04/27 09:46:37
[readconf.c readconf.h servconf.c servconf.h session.c session.h ssh.c ssh_config.5 sshd_config.5] bz #815: implement ability to pass specified environment variables from the client to the server; ok markus@
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h
index 57c7e5fa..1c6296ac 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: servconf.h,v 1.67 2003/12/23 16:12:10 jakob Exp $ */
+/* $OpenBSD: servconf.h,v 1.68 2004/04/27 09:46:37 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -24,6 +24,7 @@
#define MAX_DENY_GROUPS 256 /* Max # groups on deny list. */
#define MAX_SUBSYSTEMS 256 /* Max # subsystems. */
#define MAX_HOSTKEYS 256 /* Max # hostkeys. */
+#define MAX_ACCEPT_ENV 256 /* Max # of env vars. */
/* permit_root_login */
#define PERMIT_NOT_SET -1
@@ -107,6 +108,9 @@ typedef struct {
char *subsystem_name[MAX_SUBSYSTEMS];
char *subsystem_command[MAX_SUBSYSTEMS];
+ u_int num_accept_env;
+ char *accept_env[MAX_ACCEPT_ENV];
+
int max_startups_begin;
int max_startups_rate;
int max_startups;