OpenClovis Logo

clEoErrors.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2012 OpenClovis Solutions Inc. All Rights Reserved.
3  *
4  * This file is available under a commercial license from the
5  * copyright holder or the GNU General Public License Version 2.0.
6  *
7  * The source code for this program is not published or otherwise
8  * divested of its trade secrets, irrespective of what has been
9  * deposited with the U.S. Copyright office.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * For more information, see the file COPYING provided with this
17  * material.
18  */
19 /*******************************************************************************
20  * ModuleName : eo
21  * File : clEoErrors.h
22  *******************************************************************************/
23 
24 /*******************************************************************************
25  * Description :
26  * This header file contains all the error messages related to EO.
27  *
28  *****************************************************************************/
29 
42 #ifndef _CL_EO_ERRORS_H_
43 #define _CL_EO_ERRORS_H_
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 #include <clCommon.h>
50 #include <clCommonErrors.h>
51 
52 
53 /******************************************************************************
54  * ERROR CODES
55  *****************************************************************************/
56 
60 /*#define CL_EO_ERR_FUNC_NOT_IMPLEMENTED 0x100*/
61 
65 #define CL_EO_ERR_EO_SUSPENDED 0x101
66 
70 #define CL_EO_ERR_FUNC_NOT_REGISTERED 0x102
71 
75 #define CL_EO_ERR_INVALID_CLIENTID 0x103
76 
80 #define CL_EO_ERR_INVALID_SERVICEID 0x104
81 
85 #define CL_EO_ERR_LIB_ID_INVALID 0x105
86 
90 #define CL_EO_ERR_WATER_MARK_ID_INVALID 0x106
91 
95 #define CL_EO_ERR_IMPROPER_STATE 0x107
96 
100 #define CL_EO_ERR_QUEUE_OVERFLOW 0x108
101 
105 #define CL_EO_ERR_ENQUEUE_MSG 0x109
106 
107 
108 /******************************************************************************
109  * ERROR/RETURN CODE HANDLING MACROS
110  *****************************************************************************/
111 
112 
113 #define CL_EO_RC(ERROR_CODE) CL_RC(CL_CID_EO, (ERROR_CODE))
114 
115 #ifdef __cplusplus
116 
117 }
118 #endif
119 
120 #endif /* _CL_EO_ERRORS_H_ */
121 

Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen