This is Unofficial EPICS BASE Doxygen Site
errMdef.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2014 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 /* Error Handling definitions */
10 /*
11  * Author: Marty Kraimer
12  * Date: 6-1-90
13  */
14 
15 #ifndef INC_errMdef_H
16 #define INC_errMdef_H
17 
18 #define RTN_SUCCESS(STATUS) ((STATUS)==0)
19 
20 /* Module numbers start above 500 for compatibility with vxWorks errnoLib */
21 
22 /* FIXME: M_xxx values could be declared as integer variables and set
23  * at runtime from registration routines; the S_xxx definitions would
24  * still work with that change, with careful initialization.
25  */
26 
27 /* libCom */
28 #define M_asLib (501 << 16) /* Access Security */
29 #define M_bucket (502 << 16) /* Bucket Hash */
30 #define M_devLib (503 << 16) /* Hardware RegisterAccess */
31 #define M_stdlib (504 << 16) /* EPICS Standard library */
32 #define M_pool (505 << 16) /* Thread pool */
33 #define M_time (506 << 16) /* epicsTime */
34 
35 /* ioc */
36 #define M_dbAccess (511 << 16) /* Database Access Routines */
37 #define M_dbLib (512 << 16) /* Static Database Access */
38 #define M_drvSup (513 << 16) /* Driver Support */
39 #define M_devSup (514 << 16) /* Device Support */
40 #define M_recSup (515 << 16) /* Record Support */
41 
42 /* cas */
43 #define M_cas (521 << 16) /* CA server */
44 #define M_gddFuncTbl (522 << 16) /* gdd jump table */
45 #define M_casApp (523 << 16) /* CA server application */
46 
47 #endif /*INC_errMdef_H*/