]>
Commit | Line | Data |
---|---|---|
6c6c850a | 1 | /** @file\r |
2 | Constants and declarations for the Echo function.\r | |
3 | \r | |
24903bc4 | 4 | Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>\r |
6c6c850a | 5 | This program and the accompanying materials are licensed and made available\r |
6 | under the terms and conditions of the BSD License which accompanies this\r | |
7 | distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php.\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | **/\r | |
13 | #ifndef _IIO_ECHO_CTRL_H\r | |
14 | #define _IIO_ECHO_CTRL_H\r | |
15 | #include <sys/termios.h>\r | |
16 | \r | |
17 | __BEGIN_DECLS\r | |
18 | \r | |
19 | /* These constants are assigned values within the Unicode Private Use range.\r | |
20 | The value of IIO_ECHO_MIN must be adjusted to ensure that IIO_ECHO_MAX\r | |
24903bc4 | 21 | never exceeds the value of (TtyFunKeyMin - 1).\r |
6c6c850a | 22 | */\r |
23 | typedef enum {\r | |
24903bc4 | 24 | IIO_ECHO_MIN = (TtySpecKeyMin),\r |
6c6c850a | 25 | IIO_ECHO_DISCARD = IIO_ECHO_MIN, // Ignore this character completely\r |
26 | IIO_ECHO_ERASE, // Erase previous character\r | |
27 | IIO_ECHO_KILL, // Kill the entire line\r | |
28 | IIO_ECHO_MAX\r | |
29 | } IioEchoCtrl;\r | |
30 | \r | |
31 | __END_DECLS\r | |
32 | \r | |
33 | #endif /* _IIO_ECHO_CTRL_H */\r |