1 |
30 |
unneback |
/*
|
2 |
|
|
* COPYRIGHT (c) 1989-1999.
|
3 |
|
|
* On-Line Applications Research Corporation (OAR).
|
4 |
|
|
*
|
5 |
|
|
* The license and distribution terms for this file may be
|
6 |
|
|
* found in the file LICENSE in this distribution or at
|
7 |
|
|
* http://www.OARcorp.com/rtems/license.html.
|
8 |
|
|
*
|
9 |
|
|
* $Id: status.h,v 1.2 2001-09-27 11:59:12 chris Exp $
|
10 |
|
|
*/
|
11 |
|
|
|
12 |
|
|
#ifndef __ITRON_STATUS_h_
|
13 |
|
|
#define __ITRON_STATUS_h_
|
14 |
|
|
|
15 |
|
|
#ifdef __cplusplus
|
16 |
|
|
extern "C" {
|
17 |
|
|
#endif
|
18 |
|
|
|
19 |
|
|
#define E_OK 0 /* Normal completion */
|
20 |
|
|
#define E_SYS (-5) /* System error */
|
21 |
|
|
#define E_NOMEM (-10) /* Insufficient memory */
|
22 |
|
|
#define E_NOSPT (-17) /* Feature not supported */
|
23 |
|
|
#define E_INOSPT (-18) /* Feature not supported by ITRON/FILE */
|
24 |
|
|
/* specification */
|
25 |
|
|
#define E_RSFN (-20) /* Reserved function code number */
|
26 |
|
|
#define E_RSATR (-24) /* Reserved attribute */
|
27 |
|
|
#define E_PAR (-33) /* Parameter error */
|
28 |
|
|
#define E_ID (-35) /* Invalid ID number */
|
29 |
|
|
#define E_NOEXS (-52) /* Object does not exist */
|
30 |
|
|
#define E_OBJ (-63) /* Invalid object state */
|
31 |
|
|
#define E_MACV (-65) /* Memory access disabled or memory access */
|
32 |
|
|
/* violation */
|
33 |
|
|
#define E_OACV (-66) /* Object access violation */
|
34 |
|
|
#define E_CTX (-69) /* Context error */
|
35 |
|
|
#define E_QOVR (-73) /* Queuing or nesting overflow */
|
36 |
|
|
#define E_DLT (-81) /* Object being waited for was deleted */
|
37 |
|
|
#define E_TMOUT (-85) /* Polling failure or timeout exceeded */
|
38 |
|
|
#define E_RLWAI (-86) /* WAIT state was forcibly released */
|
39 |
|
|
#define EN_NOND (-113) /* Target node does not exist or cannot be */
|
40 |
|
|
/* accessed */
|
41 |
|
|
#define EN_OBJNO (-114) /* Specifies an object number which could not be */
|
42 |
|
|
/* accessed on the target node */
|
43 |
|
|
#define EN_PROTO (-115) /* Protocol not supported on target node */
|
44 |
|
|
#define EN_RSFN (-116) /* System call or function not supported on */
|
45 |
|
|
/* target node */
|
46 |
|
|
#define EN_COMM (-117) /* No response from target node */
|
47 |
|
|
#define EN_RLWAI (-118) /* Connection function response wait state was */
|
48 |
|
|
/* forcibly released */
|
49 |
|
|
#define EN_PAR (-119) /* A value outside the range supported by the */
|
50 |
|
|
/* target node and/or transmission packet */
|
51 |
|
|
/* format was specified as a parameter */
|
52 |
|
|
#define EN_RPAR (-120) /* A value outside the range supported by the */
|
53 |
|
|
/* issuing node and/or transmission packet */
|
54 |
|
|
/* format was returned as a return parameter */
|
55 |
|
|
#define EN_CTXID (-121) /* An object on another node was specified to */
|
56 |
|
|
/* a system call issued from a task in dispatch */
|
57 |
|
|
/* disabled state or from a task-independent */
|
58 |
|
|
/* portion */
|
59 |
|
|
#define EN_EXEC (-122) /* System call could not be executed due to */
|
60 |
|
|
/* insufficient resources on the target node */
|
61 |
|
|
#define EN_NOSPT (-123) /* Connection function not supported */
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
#ifdef __cplusplus
|
65 |
|
|
}
|
66 |
|
|
#endif
|
67 |
|
|
|
68 |
|
|
#endif
|
69 |
|
|
/* end of include file */
|
70 |
|
|
|