summaryrefslogtreecommitdiff
path: root/readconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'readconf.h')
-rw-r--r--readconf.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/readconf.h b/readconf.h
index 35f596626..841648906 100644
--- a/readconf.h
+++ b/readconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.h,v 1.92 2013/02/17 23:16:57 dtucker Exp $ */ 1/* $OpenBSD: readconf.h,v 1.93 2013/02/22 04:45:09 dtucker Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -149,13 +149,17 @@ typedef struct {
149#define REQUEST_TTY_YES 2 149#define REQUEST_TTY_YES 2
150#define REQUEST_TTY_FORCE 3 150#define REQUEST_TTY_FORCE 3
151 151
152#define SSHCONF_CHECKPERM 1 /* check permissions on config file */
153#define SSHCONF_USERCONF 2 /* user provided config file not system */
154
152void initialize_options(Options *); 155void initialize_options(Options *);
153void fill_default_options(Options *); 156void fill_default_options(Options *);
154int read_config_file(const char *, const char *, Options *, int); 157int read_config_file(const char *, const char *, Options *, int);
155int parse_forward(Forward *, const char *, int, int); 158int parse_forward(Forward *, const char *, int, int);
156 159
157int 160int
158process_config_line(Options *, const char *, char *, const char *, int, int *); 161process_config_line(Options *, const char *, char *, const char *, int, int *,
162 int);
159 163
160void add_local_forward(Options *, const Forward *); 164void add_local_forward(Options *, const Forward *);
161void add_remote_forward(Options *, const Forward *); 165void add_remote_forward(Options *, const Forward *);