diff options
Diffstat (limited to 'readconf.h')
-rw-r--r-- | readconf.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/readconf.h b/readconf.h index 97b6c2be4..2f4908f4e 100644 --- a/readconf.h +++ b/readconf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: readconf.h,v 1.60 2004/03/05 10:53:58 markus Exp $ */ | 1 | /* $OpenBSD: readconf.h,v 1.64 2004/07/11 17:48:47 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -27,6 +27,8 @@ typedef struct { | |||
27 | } Forward; | 27 | } Forward; |
28 | /* Data structure for representing option data. */ | 28 | /* Data structure for representing option data. */ |
29 | 29 | ||
30 | #define MAX_SEND_ENV 256 | ||
31 | |||
30 | typedef struct { | 32 | typedef struct { |
31 | int forward_agent; /* Forward authentication agent. */ | 33 | int forward_agent; /* Forward authentication agent. */ |
32 | int forward_x11; /* Forward X11 display. */ | 34 | int forward_x11; /* Forward X11 display. */ |
@@ -102,14 +104,20 @@ typedef struct { | |||
102 | int rekey_limit; | 104 | int rekey_limit; |
103 | int no_host_authentication_for_localhost; | 105 | int no_host_authentication_for_localhost; |
104 | int identities_only; | 106 | int identities_only; |
105 | int server_alive_interval; | 107 | int server_alive_interval; |
106 | int server_alive_count_max; | 108 | int server_alive_count_max; |
109 | |||
110 | int num_send_env; | ||
111 | char *send_env[MAX_SEND_ENV]; | ||
112 | |||
113 | char *control_path; | ||
114 | int control_master; | ||
107 | } Options; | 115 | } Options; |
108 | 116 | ||
109 | 117 | ||
110 | void initialize_options(Options *); | 118 | void initialize_options(Options *); |
111 | void fill_default_options(Options *); | 119 | void fill_default_options(Options *); |
112 | int read_config_file(const char *, const char *, Options *); | 120 | int read_config_file(const char *, const char *, Options *, int); |
113 | 121 | ||
114 | int | 122 | int |
115 | process_config_line(Options *, const char *, char *, const char *, int, int *); | 123 | process_config_line(Options *, const char *, char *, const char *, int, int *); |