]> ncurses.scripts.mit.edu Git - ncurses.git/blob - menu/eti.h
ncurses 4.1
[ncurses.git] / menu / eti.h
1 /*-----------------------------------------------------------------------------+
2 |   The ncurses Extended Terminal Interface (ETI) is Copyright (C) 1995-1997   |
3 |             by Juergen Pfeifer <Juergen.Pfeifer@T-Online.de>                 |
4 |                          All Rights Reserved.                                |
5 |                                                                              |
6 | Permission to use, copy, modify, and distribute this software and its        |
7 | documentation for any purpose and without fee is hereby granted, provided    |
8 | that the above copyright notice appear in all copies and that both that      |
9 | copyright notice and this permission notice appear in supporting             |
10 | documentation, and that the name of the above listed copyright holder(s) not |
11 | be used in advertising or publicity pertaining to distribution of the        |
12 | software without specific, written prior permission.                         | 
13 |                                                                              |
14 | THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO  |
15 | THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT-  |
16 | NESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR   |
17 | ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RE- |
18 | SULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
19 | NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH    |
20 | THE USE OR PERFORMANCE OF THIS SOFTWARE.                                     |
21 +-----------------------------------------------------------------------------*/
22
23 #ifndef _ETI_ERRNO_H_
24 #define _ETI_ERRNO_H_
25
26 #define E_OK                    (0)
27 #define E_SYSTEM_ERROR          (-1)
28 #define E_BAD_ARGUMENT          (-2)
29 #define E_POSTED                (-3)
30 #define E_CONNECTED             (-4)
31 #define E_BAD_STATE             (-5)
32 #define E_NO_ROOM               (-6)
33 #define E_NOT_POSTED            (-7)
34 #define E_UNKNOWN_COMMAND       (-8)
35 #define E_NO_MATCH              (-9)
36 #define E_NOT_SELECTABLE        (-10)
37 #define E_NOT_CONNECTED         (-11)
38 #define E_REQUEST_DENIED        (-12)
39 #define E_INVALID_FIELD         (-13)
40 #define E_CURRENT               (-14)
41
42 #endif