Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/crypto/external/bsd/openssh/dist/readconf.h,v rcsdiff: /ftp/cvs/cvsroot/src/crypto/external/bsd/openssh/dist/readconf.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.6 retrieving revision 1.6.2.2 diff -u -p -r1.6 -r1.6.2.2 --- src/crypto/external/bsd/openssh/dist/readconf.h 2011/09/07 17:49:19 1.6 +++ src/crypto/external/bsd/openssh/dist/readconf.h 2014/05/22 13:21:35 1.6.2.2 @@ -1,5 +1,5 @@ -/* $NetBSD: readconf.h,v 1.6 2011/09/07 17:49:19 christos Exp $ */ -/* $OpenBSD: readconf.h,v 1.90 2011/05/24 07:15:47 djm Exp $ */ +/* $NetBSD: readconf.h,v 1.6.2.2 2014/05/22 13:21:35 yamt Exp $ */ +/* $OpenBSD: readconf.h,v 1.95 2013/05/16 04:27:50 djm Exp $ */ /* * Author: Tatu Ylonen @@ -25,6 +25,7 @@ typedef struct { char *connect_host; /* Host to connect. */ int connect_port; /* Port to connect on connect_host. */ int allocated_port; /* Dynamically allocated listen port */ + int handle; /* Handle for dynamic listen ports */ } Forward; /* Data structure for representing option data. */ @@ -110,6 +111,7 @@ typedef struct { int num_identity_files; /* Number of files for RSA/DSA identities. */ char *identity_files[SSH_MAX_IDENTITY_FILES]; + int identity_file_userprovided[SSH_MAX_IDENTITY_FILES]; Key *identity_keys[SSH_MAX_IDENTITY_FILES]; /* Local TCP/IP forward requests. */ @@ -123,6 +125,7 @@ typedef struct { int enable_ssh_keysign; int64_t rekey_limit; + int rekey_interval; int none_switch; /* Use none cipher */ int none_enabled; /* Allow none to be used */ int no_host_authentication_for_localhost; @@ -151,6 +154,9 @@ typedef struct { int use_roaming; int request_tty; + int send_version_first; + + char *ignored_unknown; /* Pattern list of unknown tokens to ignore */ } Options; #define SSHCTL_MASTER_NO 0 @@ -164,15 +170,20 @@ typedef struct { #define REQUEST_TTY_YES 2 #define REQUEST_TTY_FORCE 3 +#define SSHCONF_CHECKPERM 1 /* check permissions on config file */ +#define SSHCONF_USERCONF 2 /* user provided config file not system */ + void initialize_options(Options *); void fill_default_options(Options *); int read_config_file(const char *, const char *, Options *, int); int parse_forward(Forward *, const char *, 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 *, + int); void add_local_forward(Options *, const Forward *); void add_remote_forward(Options *, const Forward *); +void add_identity_file(Options *, const char *, const char *, int); #endif /* READCONF_H */