diff options
author | Colin Watson <cjwatson@debian.org> | 2006-05-12 07:53:24 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2006-05-12 07:53:24 +0000 |
commit | 3e2e0ac10674d77618c4c7339e18b83ced247492 (patch) | |
tree | 8c7fd1c2333a75d57aa1cb5dfaee2310b1f3d37a /sshtty.h | |
parent | 56cf3dc50961bcc871a2d86984049e80c24d6456 (diff) | |
parent | 16704d57999d987fb8d9ba53379841a79f016d67 (diff) |
Import OpenSSH 4.3p2.
Diffstat (limited to 'sshtty.h')
-rw-r--r-- | sshtty.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sshtty.h b/sshtty.h new file mode 100644 index 000000000..723b27846 --- /dev/null +++ b/sshtty.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* $OpenBSD: sshtty.h,v 1.3 2003/09/19 17:43:35 markus Exp $ */ | ||
2 | /* | ||
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | ||
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | ||
5 | * All rights reserved | ||
6 | * | ||
7 | * As far as I am concerned, the code I have written for this software | ||
8 | * can be used freely for any purpose. Any derived versions of this | ||
9 | * software must be clearly marked as such, and if the derived work is | ||
10 | * incompatible with the protocol description in the RFC file, it must be | ||
11 | * called by a name other than "ssh" or "Secure Shell". | ||
12 | */ | ||
13 | /* | ||
14 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | ||
15 | * Copyright (c) 2001 Kevin Steves. All rights reserved. | ||
16 | * | ||
17 | * Redistribution and use in source and binary forms, with or without | ||
18 | * modification, are permitted provided that the following conditions | ||
19 | * are met: | ||
20 | * 1. Redistributions of source code must retain the above copyright | ||
21 | * notice, this list of conditions and the following disclaimer. | ||
22 | * 2. Redistributions in binary form must reproduce the above copyright | ||
23 | * notice, this list of conditions and the following disclaimer in the | ||
24 | * documentation and/or other materials provided with the distribution. | ||
25 | * | ||
26 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
27 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
28 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
29 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
30 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
31 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
32 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
33 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
34 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
35 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
36 | */ | ||
37 | |||
38 | #ifndef SSHTTY_H | ||
39 | #define SSHTTY_H | ||
40 | |||
41 | #include <termios.h> | ||
42 | |||
43 | struct termios get_saved_tio(void); | ||
44 | void leave_raw_mode(void); | ||
45 | void enter_raw_mode(void); | ||
46 | |||
47 | #endif | ||