summaryrefslogtreecommitdiff
path: root/readconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'readconf.h')
-rw-r--r--readconf.h10
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
157void initialize_options(Options *); 161void initialize_options(Options *);
158void fill_default_options(Options *); 162void fill_default_options(Options *);
159int read_config_file(const char *, const char *, Options *, int); 163int read_config_file(const char *, const char *, Options *, int);
160int parse_forward(Forward *, const char *, int, int); 164int parse_forward(Forward *, const char *, int, int);
161 165
162int 166int
163process_config_line(Options *, const char *, char *, const char *, int, int *); 167process_config_line(Options *, const char *, char *, const char *, int, int *,
168 int);
164 169
165void add_local_forward(Options *, const Forward *); 170void add_local_forward(Options *, const Forward *);
166void add_remote_forward(Options *, const Forward *); 171void add_remote_forward(Options *, const Forward *);
172void add_identity_file(Options *, const char *, const char *, int);
167 173
168#endif /* READCONF_H */ 174#endif /* READCONF_H */