summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include
diff options
context:
space:
mode:
authorjp161948 <none@none>2007-04-02 05:33:26 -0700
committerjp161948 <none@none>2007-04-02 05:33:26 -0700
commit47b374ff8413339e27ddb691c18d22ffe3482515 (patch)
tree5c4a679e4018638ed40b17ceae5b3478f0ec4f4d /usr/src/cmd/ssh/include
parentf763a6cdd6a48d48089e0c8473a138f32345775a (diff)
downloadillumos-joyent-47b374ff8413339e27ddb691c18d22ffe3482515.tar.gz
PSARC 2007/034 ssh/sshd resync with OpenSSH
6480090 ConnectTimeout functionality desired for SUNWssh
Diffstat (limited to 'usr/src/cmd/ssh/include')
-rw-r--r--usr/src/cmd/ssh/include/readconf.h4
-rw-r--r--usr/src/cmd/ssh/include/xmalloc.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/cmd/ssh/include/readconf.h b/usr/src/cmd/ssh/include/readconf.h
index e6bdcb5e88..52d2f7100b 100644
--- a/usr/src/cmd/ssh/include/readconf.h
+++ b/usr/src/cmd/ssh/include/readconf.h
@@ -23,7 +23,7 @@ extern "C" {
* called by a name other than "ssh" or "Secure Shell".
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -89,6 +89,8 @@ typedef struct {
int port; /* Port to connect. */
int connection_attempts; /* Max attempts (seconds) before
* giving up */
+ int connection_timeout; /* Max time (seconds) before
+ * aborting connection attempt */
int number_of_password_prompts; /* Max number of password
* prompts. */
int cipher; /* Cipher to use. */
diff --git a/usr/src/cmd/ssh/include/xmalloc.h b/usr/src/cmd/ssh/include/xmalloc.h
index c5aafe6da1..6477737a4e 100644
--- a/usr/src/cmd/ssh/include/xmalloc.h
+++ b/usr/src/cmd/ssh/include/xmalloc.h
@@ -27,6 +27,7 @@ extern "C" {
*/
void *xmalloc(size_t);
+void *xcalloc(size_t, size_t);
void *xrealloc(void *, size_t);
void xfree(void *);
char *xstrdup(const char *);