version 1.97, 2013/10/14 22:22:03 |
version 1.98, 2013/10/16 02:31:46 |
|
|
/* Data structure for representing option data. */ |
/* Data structure for representing option data. */ |
|
|
#define MAX_SEND_ENV 256 |
#define MAX_SEND_ENV 256 |
#define SSH_MAX_HOSTS_FILES 256 |
#define SSH_MAX_HOSTS_FILES 32 |
|
#define MAX_CANON_DOMAINS 32 |
|
|
|
struct allowed_cname { |
|
char *source_list; |
|
char *target_list; |
|
}; |
|
|
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 proxy_use_fdpass; |
int proxy_use_fdpass; |
|
|
|
int num_canonical_domains; |
|
char *canonical_domains[MAX_CANON_DOMAINS]; |
|
int canonicalise_hostname; |
|
int canonicalise_max_dots; |
|
int canonicalise_fallback_local; |
|
int num_permitted_cnames; |
|
struct allowed_cname permitted_cnames[MAX_CANON_DOMAINS]; |
|
|
char *ignored_unknown; /* Pattern list of unknown tokens to ignore */ |
char *ignored_unknown; /* Pattern list of unknown tokens to ignore */ |
} Options; |
} Options; |
|
|
|
#define SSH_CANONICALISE_NO 0 |
|
#define SSH_CANONICALISE_YES 1 |
|
#define SSH_CANONICALISE_ALWAYS 2 |
|
|
#define SSHCTL_MASTER_NO 0 |
#define SSHCTL_MASTER_NO 0 |
#define SSHCTL_MASTER_YES 1 |
#define SSHCTL_MASTER_YES 1 |