summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-05-02 22:11:30 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-05-02 22:11:30 +1000
commit46bc075474211c711b102f6278783bb68d7530a8 (patch)
tree5f099d7bdc006926bf393dfc51f7545d0787b33e /servconf.h
parent47abce45b20ba52c0eb7f19240851f45bc1babc2 (diff)
- 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 57c7e5fab..1c6296acc 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.h,v 1.67 2003/12/23 16:12:10 jakob Exp $ */ 1/* $OpenBSD: servconf.h,v 1.68 2004/04/27 09:46:37 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -24,6 +24,7 @@
24#define MAX_DENY_GROUPS 256 /* Max # groups on deny list. */ 24#define MAX_DENY_GROUPS 256 /* Max # groups on deny list. */
25#define MAX_SUBSYSTEMS 256 /* Max # subsystems. */ 25#define MAX_SUBSYSTEMS 256 /* Max # subsystems. */
26#define MAX_HOSTKEYS 256 /* Max # hostkeys. */ 26#define MAX_HOSTKEYS 256 /* Max # hostkeys. */
27#define MAX_ACCEPT_ENV 256 /* Max # of env vars. */
27 28
28/* permit_root_login */ 29/* permit_root_login */
29#define PERMIT_NOT_SET -1 30#define PERMIT_NOT_SET -1
@@ -107,6 +108,9 @@ typedef struct {
107 char *subsystem_name[MAX_SUBSYSTEMS]; 108 char *subsystem_name[MAX_SUBSYSTEMS];
108 char *subsystem_command[MAX_SUBSYSTEMS]; 109 char *subsystem_command[MAX_SUBSYSTEMS];
109 110
111 u_int num_accept_env;
112 char *accept_env[MAX_ACCEPT_ENV];
113
110 int max_startups_begin; 114 int max_startups_begin;
111 int max_startups_rate; 115 int max_startups_rate;
112 int max_startups; 116 int max_startups;