OpenClovis Logo

clAmsErrors.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 
31 #ifndef _CL_AMS_ERRORS_H_
32 #define _CL_AMS_ERRORS_H_
33 
34 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif
38 
39 #include <clCommon.h>
40 #include <clCommonErrors.h>
41 
46 #define CL_AMS_ERR_INVALID_COMP 0x100
47 
52 #define CL_AMS_ERR_INVALID_ENTITY 0x101
53 
58 #define CL_AMS_ERR_INVALID_ENTITY_STATE 0x102
59 
63 #define CL_AMS_ERR_INVALID_ENTITY_LIST 0x103
64 
68 #define CL_AMS_ERR_ENTITY_NOT_ENABLED 0x104
69 
73 #define CL_AMS_ERR_BAD_CONFIG 0x105
74 
78 #define CL_AMS_ERR_INVALID_ARGS 0x106
79 
83 #define CL_AMS_ERR_INVALID_OPERATION 0x107
84 
88 #define CL_AMS_ERR_OPERATION_FAILED 0x108
89 
93 #define CL_AMS_ERR_SI_NOT_ASSIGNABLE 0x109
94 
99 #define CL_AMS_ERR_CSI_NOT_ASSIGNABLE 0x10a
100 
104 #define CL_AMS_ERR_UNMARSHALING_FAILED 0x10b
105 
109 #define CL_AMS_RC(ERROR_CODE) CL_RC(CL_CID_AMS, (ERROR_CODE))
110 
111 #ifdef __cplusplus
112 }
113 #endif
114 
115 #endif /* _CL_AMS_ERRORS_H_ */
116 

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