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