summaryrefslogtreecommitdiffstats
path: root/c/src/exec/itron/include/itronsys/status.h
blob: c2a640ba6a83ddd5aeaaf8f49142984d620584da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.OARcorp.com/rtems/license.html.
 *
 *  $Id$
 */

#ifndef __ITRON_STATUS_h_
#define __ITRON_STATUS_h_

#ifdef __cplusplus
extern "C" {
#endif

#define E_OK       0        /* Normal completion */
#define E_SYS      (-5)     /* System error */
#define E_NOMEM    (-10)    /* Insufficient memory */
#define E_NOSPT    (-17)    /* Feature not supported */
#define E_INOSPT   (-18)    /* Feature not supported by ITRON/FILE */
                            /*   specification */
#define E_RSFN     (-20)    /* Reserved function code number */
#define E_RSATR    (-24)    /* Reserved attribute */
#define E_PAR      (-33)    /* Parameter error */
#define E_ID       (-35)    /* Invalid ID number */
#define E_NOEXS    (-52)    /* Object does not exist */
#define E_OBJ      (-63)    /* Invalid object state */
#define E_MACV     (-65)    /* Memory access disabled or memory access */
                            /*   violation */
#define E_OACV     (-66)    /* Object access violation */
#define E_CTX      (-69)    /* Context error */
#define E_QOVR     (-73)    /* Queuing or nesting overflow */
#define E_DLT      (-81)    /* Object being waited for was deleted */
#define E_TMOUT    (-85)    /* Polling failure or timeout exceeded */
#define E_RLWAI    (-86)    /* WAIT state was forcibly released */
#define EN_NOND    (-113)   /* Target node does not exist or cannot be */
                            /*   accessed */
#define EN_OBJNO   (-114)   /* Specifies an object number which could not be */
                            /*   accessed on the target node */
#define EN_PROTO   (-115)   /* Protocol not supported on target node */
#define EN_RSFN    (-116)   /* System call or function not supported on */
                            /*   target node */
#define EN_COMM    (-117)   /* No response from target node */
#define EN_RLWAI   (-118)   /* Connection function response wait state was */
                            /*   forcibly released */
#define EN_PAR     (-119)   /* A value outside the range supported by the */
                            /*   target node and/or transmission packet */
                            /*   format was specified as a parameter */
#define EN_RPAR    (-120)   /* A value outside the range supported by the */
                            /*   issuing node and/or transmission packet */
                            /*   format was returned as a return parameter */
#define EN_CTXID   (-121)   /* An object on another node was specified to */
                            /*   a system call issued from a task in dispatch */
                            /*   disabled state or from a task-independent */
                            /*   portion */
#define EN_EXEC    (-122)   /* System call could not be executed due to */
                            /*   insufficient resources on the target node */
#define EN_NOSPT   (-123)   /* Connection function not supported */


#ifdef __cplusplus
}
#endif

#endif
/* end of include file */