Common Error Codes shared across multiple Clovis ASP Components. More...
#include <clCommon.h>Go to the source code of this file.
Macros | |
| #define | CL_CID_OFFSET 16 /* 16 bit positions */ |
| Component identifier offset. | |
| #define | CL_ERR_ALREADY_EXIST 0x10 |
| An entry is already existing. | |
| #define | CL_ERR_BAD_FLAG 0x22 |
| The passed flag is invalid. | |
| #define | CL_ERR_BAD_OPERATION 0x23 |
| The requested operation is invalid. | |
| #define | CL_ERR_BUFFER_OVERRUN 0x0d |
| Buffer over run. | |
| #define | CL_ERR_COMMON_MAX 0xff |
| 2^8-1, the max for common errors | |
| #define | CL_ERR_DOESNT_EXIST 0x13 |
| An entry does not exist. | |
| #define | CL_ERR_DUPLICATE 0x08 |
| Duplicate entry. | |
| #define | CL_ERR_FAILED_OPERATION 0x1f |
| The requested operation Failed. | |
| #define | CL_ERR_INITIALIZED 0x0c |
| Already initialized. | |
| #define | CL_ERR_INTERRUPT 0x26 |
| The operation interrupted by application/user. | |
| #define | CL_ERR_INUSE 0x15 |
| Resource is in use. | |
| #define | CL_ERR_INVALID_BUFFER 0x06 |
| The buffer passed in is invalid. | |
| #define | CL_ERR_INVALID_HANDLE 0x05 |
| The handle passed is invalid. | |
| #define | CL_ERR_INVALID_PARAMETER 0x02 |
| Input parameters are invalid. | |
| #define | CL_ERR_INVALID_STATE 0x12 |
| Invalid State. | |
| #define | CL_ERR_LIBRARY 0x24 |
| System call invocation failed and returned an error. | |
| #define | CL_ERR_MESSAGE_ERROR 0x1c |
| A communication error occurred. | |
| #define | CL_ERR_MUTEX_ERROR 0x18 |
| Thread mutex error. | |
| #define | CL_ERR_NAME_NOT_FOUND 0x1b |
| Name doesnt exist or cannot be found. | |
| #define | CL_ERR_NAME_TOO_LONG 0x1a |
| Name exceeds maximum allowed length. | |
| #define | CL_ERR_NO_CALLBACK 0x17 |
| No callback available for request. | |
| #define | CL_ERR_NO_MEMORY 0x01 |
| Memory is not available. | |
| #define | CL_ERR_NO_OP 0x19 |
| Null operation. | |
| #define | CL_ERR_NO_RESOURCE 0x0b |
| No resources. | |
| #define | CL_ERR_NO_SECTIONS 0x1e |
| There are no or no more sections matching the specified sections. | |
| #define | CL_ERR_NO_SPACE 0x21 |
| Space limitation. | |
| #define | CL_ERR_NOT_EXIST 0x04 |
| Requested resource does not exist. | |
| #define | CL_ERR_NOT_IMPLEMENTED 0x07 |
| The function not yet implemented. | |
| #define | CL_ERR_NOT_INITIALIZED 0x0e |
| Component not initialized. | |
| #define | CL_ERR_NOT_SUPPORTED 0x25 |
| Requested feature is not supported. | |
| #define | CL_ERR_NULL_POINTER 0x03 |
| Input parameter is a NULL pointer. | |
| #define | CL_ERR_OP_NOT_PERMITTED 0x20 |
| Requested operation is not permitted. | |
| #define | CL_ERR_OUT_OF_RANGE 0x0a |
| Out of range paramenters. | |
| #define | CL_ERR_QUEUE_NOT_AVAILABLE 0x09 |
| The destination queue is not available. | |
| #define | CL_ERR_TIMEOUT 0x14 |
| Timeout. | |
| #define | CL_ERR_TOO_BIG 0x1d |
| A value is larger than the maximum value permitted. | |
| #define | CL_ERR_TRY_AGAIN 0x16 |
| Component is busy , Try again. | |
| #define | CL_ERR_UNSPECIFIED 0x11 |
| Unknown/Unspecified error. | |
| #define | CL_ERR_VERSION_MISMATCH 0x0f |
| Version mismatch. | |
| #define | CL_ERROR_CODE_MASK 0xffff /* 16 bits */ |
| Error code mask. | |
| #define | CL_GET_CID(RC) ((ClUint32T) ((RC) >> CL_CID_OFFSET)) |
| This macro extracts the component identifier from the return code. | |
| #define | CL_GET_ERROR_CODE(RC) ((ClUint32T) ((RC) & CL_ERROR_CODE_MASK)) |
| This macro extracts the error code from the return code. | |
| #define | CL_OK 0x00 |
| Every thing is OK. | |
| #define | CL_RC(CID, ERROR_CODE) |
| This macro constructs the return code from the component identifier and error code. | |
Common Error Codes shared across multiple Clovis ASP Components.