OpenClovis Logo

clDebugErrors.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 : debug
21 * File : clDebugErrors.h
22 *******************************************************************************/
23 
24 /******************************************************************************
25 * Description :
26 * This module contains common DEBUG Error definitions
27 ******************************************************************************/
28 
42 #ifndef _CL_DEBUG_ERRORS_H_
43 #define _CL_DEBUG_ERRORS_H_
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 
53 #define CL_DEBUG_RC(ERROR_CODE) CL_RC(CL_CID_DEBUG, (ERROR_CODE))
54 
58 #define CL_DBG_ERR_CMD_NOT_FOUND 0x100
59 
63 #define CL_DBG_ERR_UNRECOGNIZED_CMD 0x101
64 
68 #define CL_DBG_ERR_INVALID_CTX 0x102
69 
73 #define CL_DBG_ERR_INVALID_PARAM 0x103
74 
78 #define CL_DBG_ERR_COMMON_ERROR 0x104
79 
80 
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif /* _CL_DEBUG_ERRORS_H_ */
86 

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