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