summaryrefslogtreecommitdiff
path: root/servconf.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-25 13:33:20 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-25 13:33:20 +1000
commit645ab757bd58dc0c8e42b9886863ec95bf058c3e (patch)
tree86b28519830db5ac41a1975794524a7d0498b93d /servconf.h
parentb5bc1a6393ab0dce132a35711e779644c36a3ffa (diff)
- djm@cvs.openbsd.org 2004/06/24 19:30:54
[servconf.c servconf.h sshd.c] re-exec sshd on accept(); initial work, final debugging and ok markus@
Diffstat (limited to 'servconf.h')
-rw-r--r--servconf.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/servconf.h b/servconf.h
index 36d2e5ca6..ebd056814 100644
--- a/servconf.h
+++ b/servconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.h,v 1.69 2004/05/23 23:59:53 dtucker Exp $ */ 1/* $OpenBSD: servconf.h,v 1.70 2004/06/24 19:30:54 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -16,6 +16,8 @@
16#ifndef SERVCONF_H 16#ifndef SERVCONF_H
17#define SERVCONF_H 17#define SERVCONF_H
18 18
19#include "buffer.h"
20
19#define MAX_PORTS 256 /* Max # ports. */ 21#define MAX_PORTS 256 /* Max # ports. */
20 22
21#define MAX_ALLOW_USERS 256 /* Max # users on allow list. */ 23#define MAX_ALLOW_USERS 256 /* Max # users on allow list. */
@@ -134,9 +136,9 @@ typedef struct {
134} ServerOptions; 136} ServerOptions;
135 137
136void initialize_server_options(ServerOptions *); 138void initialize_server_options(ServerOptions *);
137void read_server_config(ServerOptions *, const char *);
138void fill_default_server_options(ServerOptions *); 139void fill_default_server_options(ServerOptions *);
139int process_server_config_line(ServerOptions *, char *, const char *, int); 140int process_server_config_line(ServerOptions *, char *, const char *, int);
140 141void load_server_config(const char *, Buffer *);
142void parse_server_config(ServerOptions *, const char *, Buffer *);
141 143
142#endif /* SERVCONF_H */ 144#endif /* SERVCONF_H */