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