diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
commit | 1b816ea846aca3ee89e7995373ace609e9518424 (patch) | |
tree | b41cdc8495cae7fa9c2e0f98a5f2e71656b61f9a /sshpty.h | |
parent | fa585019a79ebcb4e0202b1c33f87ff1c5c9ce1c (diff) | |
parent | 086ea76990b1e6287c24b6db74adffd4605eb3b0 (diff) |
import openssh-4.6p1-gsskex-20070312.patch
Diffstat (limited to 'sshpty.h')
-rw-r--r-- | sshpty.h | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshpty.h,v 1.5 2004/05/08 00:01:37 deraadt Exp $ */ | 1 | /* $OpenBSD: sshpty.h,v 1.10 2006/08/03 03:34:42 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -14,17 +14,14 @@ | |||
14 | * called by a name other than "ssh" or "Secure Shell". | 14 | * called by a name other than "ssh" or "Secure Shell". |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef SSHPTY_H | 17 | #include <termios.h> |
18 | #define SSHPTY_H | ||
19 | 18 | ||
20 | struct termios get_saved_tio(void); | 19 | struct termios get_saved_tio(void); |
21 | void leave_raw_mode(void); | 20 | void leave_raw_mode(void); |
22 | void enter_raw_mode(void); | 21 | void enter_raw_mode(void); |
23 | 22 | ||
24 | int pty_allocate(int *, int *, char *, int); | 23 | int pty_allocate(int *, int *, char *, size_t); |
25 | void pty_release(const char *); | 24 | void pty_release(const char *); |
26 | void pty_make_controlling_tty(int *, const char *); | 25 | void pty_make_controlling_tty(int *, const char *); |
27 | void pty_change_window_size(int, int, int, int, int); | 26 | void pty_change_window_size(int, u_int, u_int, u_int, u_int); |
28 | void pty_setowner(struct passwd *, const char *); | 27 | void pty_setowner(struct passwd *, const char *); |
29 | |||
30 | #endif /* SSHPTY_H */ | ||