diff options
Diffstat (limited to 'servconf.h')
-rw-r--r-- | servconf.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/servconf.h b/servconf.h index 5c6212f2d..6c647c2ed 100644 --- a/servconf.h +++ b/servconf.h | |||
@@ -13,7 +13,7 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: servconf.h,v 1.12 2000/06/07 09:55:44 djm Exp $"); */ | 16 | /* RCSID("$Id: servconf.h,v 1.13 2000/06/18 04:50:44 djm Exp $"); */ |
17 | 17 | ||
18 | #ifndef SERVCONF_H | 18 | #ifndef SERVCONF_H |
19 | #define SERVCONF_H | 19 | #define SERVCONF_H |
@@ -24,6 +24,7 @@ | |||
24 | #define MAX_DENY_USERS 256 /* Max # users on deny list. */ | 24 | #define MAX_DENY_USERS 256 /* Max # users on deny list. */ |
25 | #define MAX_ALLOW_GROUPS 256 /* Max # groups on allow list. */ | 25 | #define MAX_ALLOW_GROUPS 256 /* Max # groups on allow list. */ |
26 | #define MAX_DENY_GROUPS 256 /* Max # groups on deny list. */ | 26 | #define MAX_DENY_GROUPS 256 /* Max # groups on deny list. */ |
27 | #define MAX_SUBSYSTEMS 256 /* Max # subsystems. */ | ||
27 | 28 | ||
28 | typedef struct { | 29 | typedef struct { |
29 | unsigned int num_ports; | 30 | unsigned int num_ports; |
@@ -94,6 +95,10 @@ typedef struct { | |||
94 | char *allow_groups[MAX_ALLOW_GROUPS]; | 95 | char *allow_groups[MAX_ALLOW_GROUPS]; |
95 | unsigned int num_deny_groups; | 96 | unsigned int num_deny_groups; |
96 | char *deny_groups[MAX_DENY_GROUPS]; | 97 | char *deny_groups[MAX_DENY_GROUPS]; |
98 | |||
99 | unsigned int num_subsystems; | ||
100 | char *subsystem_name[MAX_SUBSYSTEMS]; | ||
101 | char *subsystem_command[MAX_SUBSYSTEMS]; | ||
97 | } ServerOptions; | 102 | } ServerOptions; |
98 | /* | 103 | /* |
99 | * Initializes the server options to special values that indicate that they | 104 | * Initializes the server options to special values that indicate that they |