diff options
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 */ | ||