OpenClovis Logo

clGmsErrors.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 : gms
21  * File : clGmsErrors.h
22  *******************************************************************************/
23 
24 /*******************************************************************************
25  * Description :
26  * Error codes returned by the GMS library.
27  *
28  *
29  *****************************************************************************/
30 
42 #ifndef _CL_GMS_ERRORS_H_
43 #define _CL_GMS_ERRORS_H_
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 #include <clCommon.h>
50 #include <clCommonErrors.h>
51 
52 /******************************************************************************
53  * ERROR CODES
54  *****************************************************************************/
58 #define CL_GMS_ERR_UNMARSHALING_FAILED 0x100
59 
63 #define CL_GMS_ERR_TOTEM_PROTOCOL_ERROR 0x101
64 
68 #define CL_GMS_ERR_CONFIG_FILE_INVALID 0x102
69 
73 #define CL_GMS_ERR_GROUP_DOESNT_EXIST 0x103
74 
78 #define CL_GMS_ERR_EMPTY_GROUP 0x104
79 
83 #define CL_GMS_ERR_IOC_REGISTRATION 0x105
84 
88 #define CL_GMS_ERR_IOC_DEREGISTRATION 0x106
89 
94 #define CL_GMS_ERR_CLUSTER_VERSION_MISMATCH 0x107
95 
96 /******************************************************************************
97  * ERROR/RETRUN CODE HANDLING MACROS
98  *****************************************************************************/
99 #define CL_GMS_RC(ERROR_CODE) CL_RC(CL_CID_GMS, (ERROR_CODE))
100 
101 #ifdef __cplusplus
102 }
103 #endif
104 
105 #endif /* _CL_GMS_ERRORS_H_ */
106 

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