diff options
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/readconf.h b/readconf.h index be30ee0e1..841648906 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.h,v 1.91 2011/09/23 07:45:05 markus 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> |
@@ -96,6 +96,7 @@ typedef struct { | |||
96 | 96 | ||
97 | int num_identity_files; /* Number of files for RSA/DSA identities. */ | 97 | int num_identity_files; /* Number of files for RSA/DSA identities. */ |
98 | char *identity_files[SSH_MAX_IDENTITY_FILES]; | 98 | char *identity_files[SSH_MAX_IDENTITY_FILES]; |
99 | int identity_file_userprovided[SSH_MAX_IDENTITY_FILES]; | ||
99 | Key *identity_keys[SSH_MAX_IDENTITY_FILES]; | 100 | Key *identity_keys[SSH_MAX_IDENTITY_FILES]; |
100 | 101 | ||
101 | /* Local TCP/IP forward requests. */ | 102 | /* Local TCP/IP forward requests. */ |
@@ -148,15 +149,20 @@ typedef struct { | |||
148 | #define REQUEST_TTY_YES 2 | 149 | #define REQUEST_TTY_YES 2 |
149 | #define REQUEST_TTY_FORCE 3 | 150 | #define REQUEST_TTY_FORCE 3 |
150 | 151 | ||
152 | #define SSHCONF_CHECKPERM 1 /* check permissions on config file */ | ||
153 | #define SSHCONF_USERCONF 2 /* user provided config file not system */ | ||
154 | |||
151 | void initialize_options(Options *); | 155 | void initialize_options(Options *); |
152 | void fill_default_options(Options *); | 156 | void fill_default_options(Options *); |
153 | int read_config_file(const char *, const char *, Options *, int); | 157 | int read_config_file(const char *, const char *, Options *, int); |
154 | int parse_forward(Forward *, const char *, int, int); | 158 | int parse_forward(Forward *, const char *, int, int); |
155 | 159 | ||
156 | int | 160 | int |
157 | process_config_line(Options *, const char *, char *, const char *, int, int *); | 161 | process_config_line(Options *, const char *, char *, const char *, int, int *, |
162 | int); | ||
158 | 163 | ||
159 | void add_local_forward(Options *, const Forward *); | 164 | void add_local_forward(Options *, const Forward *); |
160 | void add_remote_forward(Options *, const Forward *); | 165 | void add_remote_forward(Options *, const Forward *); |
166 | void add_identity_file(Options *, const char *, const char *, int); | ||
161 | 167 | ||
162 | #endif /* READCONF_H */ | 168 | #endif /* READCONF_H */ |