=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.h,v retrieving revision 1.65.2.2 retrieving revision 1.66 diff -u -r1.65.2.2 -r1.66 --- src/usr.bin/ssh/servconf.h 2004/08/19 22:37:32 1.65.2.2 +++ src/usr.bin/ssh/servconf.h 2003/12/09 21:53:37 1.66 @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.65.2.2 2004/08/19 22:37:32 brad Exp $ */ +/* $OpenBSD: servconf.h,v 1.66 2003/12/09 21:53:37 markus Exp $ */ /* * Author: Tatu Ylonen @@ -16,8 +16,6 @@ #ifndef SERVCONF_H #define SERVCONF_H -#include "buffer.h" - #define MAX_PORTS 256 /* Max # ports. */ #define MAX_ALLOW_USERS 256 /* Max # users on allow list. */ @@ -26,7 +24,6 @@ #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 @@ -35,7 +32,6 @@ #define PERMIT_NO_PASSWD 2 #define PERMIT_YES 3 -#define DEFAULT_AUTH_FAIL_MAX 6 /* Default for MaxAuthTries */ typedef struct { u_int num_ports; @@ -84,8 +80,6 @@ * /etc/passwd */ int kerberos_ticket_cleanup; /* If true, destroy ticket * file on logout. */ - int kerberos_get_afs_token; /* If true, try to get AFS token if - * authenticated with Kerberos. */ int gss_authentication; /* If true, permit GSSAPI authentication */ int gss_cleanup_creds; /* If true, destroy cred cache on logout */ int password_authentication; /* If true, permit password @@ -111,13 +105,9 @@ 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; - int max_authtries; char *banner; /* SSH-2 banner message */ int use_dns; int client_alive_interval; /* @@ -135,9 +125,9 @@ } ServerOptions; void initialize_server_options(ServerOptions *); +void read_server_config(ServerOptions *, const char *); void fill_default_server_options(ServerOptions *); int process_server_config_line(ServerOptions *, char *, const char *, int); -void load_server_config(const char *, Buffer *); -void parse_server_config(ServerOptions *, const char *, Buffer *); + #endif /* SERVCONF_H */