version 1.55.2.1, 2004/02/28 03:51:33 |
version 1.55.2.2, 2004/08/19 22:37:31 |
|
|
} Forward; |
} Forward; |
/* Data structure for representing option data. */ |
/* Data structure for representing option data. */ |
|
|
|
#define MAX_SEND_ENV 256 |
|
|
typedef struct { |
typedef struct { |
int forward_agent; /* Forward authentication agent. */ |
int forward_agent; /* Forward authentication agent. */ |
int forward_x11; /* Forward X11 display. */ |
int forward_x11; /* Forward X11 display. */ |
|
|
int enable_ssh_keysign; |
int enable_ssh_keysign; |
int rekey_limit; |
int rekey_limit; |
int no_host_authentication_for_localhost; |
int no_host_authentication_for_localhost; |
int server_alive_interval; |
int identities_only; |
|
int server_alive_interval; |
int server_alive_count_max; |
int server_alive_count_max; |
|
|
|
int num_send_env; |
|
char *send_env[MAX_SEND_ENV]; |
|
|
|
char *control_path; |
|
int control_master; |
} Options; |
} Options; |
|
|
|
|
void initialize_options(Options *); |
void initialize_options(Options *); |
void fill_default_options(Options *); |
void fill_default_options(Options *); |
int read_config_file(const char *, const char *, Options *); |
int read_config_file(const char *, const char *, Options *, int); |
|
|
int |
int |
process_config_line(Options *, const char *, char *, const char *, int, int *); |
process_config_line(Options *, const char *, char *, const char *, int, int *); |