summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/sshpty.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-09-30 13:29:51 +0000
committerdes <des@FreeBSD.org>2006-09-30 13:29:51 +0000
commit2f35ce4773442329d7798ccfecd8db9dcdce89bf (patch)
treebba6f2fe7855d7b0095f9dc7720dc27bea4d1fdf /crypto/openssh/sshpty.h
parent03ef9d989bf2619956d8c703362439e9be9257ca (diff)
downloadFreeBSD-src-2f35ce4773442329d7798ccfecd8db9dcdce89bf.zip
FreeBSD-src-2f35ce4773442329d7798ccfecd8db9dcdce89bf.tar.gz
Vendor import of OpenSSH 4.4p1.
Diffstat (limited to 'crypto/openssh/sshpty.h')
-rw-r--r--crypto/openssh/sshpty.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/crypto/openssh/sshpty.h b/crypto/openssh/sshpty.h
index c0678de..7fac622 100644
--- a/crypto/openssh/sshpty.h
+++ b/crypto/openssh/sshpty.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshpty.h,v 1.5 2004/05/08 00:01:37 deraadt Exp $ */
+/* $OpenBSD: sshpty.h,v 1.10 2006/08/03 03:34:42 deraadt Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -14,17 +14,14 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-#ifndef SSHPTY_H
-#define SSHPTY_H
+#include <termios.h>
struct termios get_saved_tio(void);
void leave_raw_mode(void);
void enter_raw_mode(void);
-int pty_allocate(int *, int *, char *, int);
+int pty_allocate(int *, int *, char *, size_t);
void pty_release(const char *);
void pty_make_controlling_tty(int *, const char *);
-void pty_change_window_size(int, int, int, int, int);
+void pty_change_window_size(int, u_int, u_int, u_int, u_int);
void pty_setowner(struct passwd *, const char *);
-
-#endif /* SSHPTY_H */
OpenPOWER on IntegriCloud