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 c5cad9ccf..6ecbf281e 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> |
@@ -102,6 +102,7 @@ typedef struct { | |||
102 | 102 | ||
103 | int num_identity_files; /* Number of files for RSA/DSA identities. */ | 103 | int num_identity_files; /* Number of files for RSA/DSA identities. */ |
104 | char *identity_files[SSH_MAX_IDENTITY_FILES]; | 104 | char *identity_files[SSH_MAX_IDENTITY_FILES]; |
105 | int identity_file_userprovided[SSH_MAX_IDENTITY_FILES]; | ||
105 | Key *identity_keys[SSH_MAX_IDENTITY_FILES]; | 106 | Key *identity_keys[SSH_MAX_IDENTITY_FILES]; |
106 | 107 | ||
107 | /* Local TCP/IP forward requests. */ | 108 | /* Local TCP/IP forward requests. */ |
@@ -154,15 +155,20 @@ typedef struct { | |||
154 | #define REQUEST_TTY_YES 2 | 155 | #define REQUEST_TTY_YES 2 |
155 | #define REQUEST_TTY_FORCE 3 | 156 | #define REQUEST_TTY_FORCE 3 |
156 | 157 | ||
158 | #define SSHCONF_CHECKPERM 1 /* check permissions on config file */ | ||
159 | #define SSHCONF_USERCONF 2 /* user provided config file not system */ | ||
160 | |||
157 | void initialize_options(Options *); | 161 | void initialize_options(Options *); |
158 | void fill_default_options(Options *); | 162 | void fill_default_options(Options *); |
159 | int read_config_file(const char *, const char *, Options *, int); | 163 | int read_config_file(const char *, const char *, Options *, int); |
160 | int parse_forward(Forward *, const char *, int, int); | 164 | int parse_forward(Forward *, const char *, int, int); |
161 | 165 | ||
162 | int | 166 | int |
163 | process_config_line(Options *, const char *, char *, const char *, int, int *); | 167 | process_config_line(Options *, const char *, char *, const char *, int, int *, |
168 | int); | ||
164 | 169 | ||
165 | void add_local_forward(Options *, const Forward *); | 170 | void add_local_forward(Options *, const Forward *); |
166 | void add_remote_forward(Options *, const Forward *); | 171 | void add_remote_forward(Options *, const Forward *); |
172 | void add_identity_file(Options *, const char *, const char *, int); | ||
167 | 173 | ||
168 | #endif /* READCONF_H */ | 174 | #endif /* READCONF_H */ |