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 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
156void initialize_options(Options *); 160void initialize_options(Options *);
157void fill_default_options(Options *); 161void fill_default_options(Options *);
158int read_config_file(const char *, const char *, Options *, int); 162int read_config_file(const char *, const char *, Options *, int);
159int parse_forward(Forward *, const char *, int, int); 163int parse_forward(Forward *, const char *, int, int);
160 164
161int 165int
162process_config_line(Options *, const char *, char *, const char *, int, int *); 166process_config_line(Options *, const char *, char *, const char *, int, int *,
167 int);
163 168
164void add_local_forward(Options *, const Forward *); 169void add_local_forward(Options *, const Forward *);
165void add_remote_forward(Options *, const Forward *); 170void add_remote_forward(Options *, const Forward *);
171void add_identity_file(Options *, const char *, const char *, int);
166 172
167#endif /* READCONF_H */ 173#endif /* READCONF_H */