=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/servconf.h,v retrieving revision 1.67.2.2 retrieving revision 1.68 diff -u -r1.67.2.2 -r1.68 --- src/usr.bin/ssh/servconf.h 2005/03/10 17:15:04 1.67.2.2 +++ src/usr.bin/ssh/servconf.h 2004/04/27 09:46:37 1.68 @@ -1,4 +1,4 @@ -/* $OpenBSD: servconf.h,v 1.67.2.2 2005/03/10 17:15:04 brad Exp $ */ +/* $OpenBSD: servconf.h,v 1.68 2004/04/27 09:46:37 djm 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. */ @@ -35,7 +33,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; @@ -43,7 +40,6 @@ u_short ports[MAX_PORTS]; /* Port number to listen on. */ char *listen_addr; /* Address on which the server listens. */ struct addrinfo *listen_addrs; /* Addresses on which the server listens. */ - int address_family; /* Address family used by the server. */ char *host_key_files[MAX_HOSTKEYS]; /* Files containing host keys. */ int num_host_key_files; /* Number of files for host keys. */ char *pid_file; /* Where to put our pid */ @@ -118,7 +114,6 @@ 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; /* @@ -136,9 +131,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 */