Macros |
#define | CL_CID_OFFSET 16 /* 16 bit positions */ |
| Component identifier offset.
|
#define | CL_DISABLE 0 |
| define Disable
|
#define | CL_ENABLE 1 |
| define Enable
|
#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_FALSE 0 |
| define the False
|
#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_IN |
| CL_IN macro assists in clearly defining arguments of an API, but has no actual meaning.
|
#define | CL_INOUT |
| CL_INOUT macro assists in clearly defining arguments of an API, but has no actual meaning.
|
#define | CL_MAX(a, b) ( (a) > (b) ? (a) : (b) ) |
| Maximum macro.
|
#define | CL_MAX_NAME_LENGTH 256 |
| The Maximum length of most string names in the OpenClovis ASP framework.
|
#define | CL_MICRO_TO_NANO 1000ULL |
| nanoseconds in a microsecond
|
#define | CL_MILLI_TO_MICRO 1000ULL |
| microseconds in a millisecond
|
#define | CL_MILLI_TO_NANO (CL_MICRO_TO_NANO * CL_MILLI_TO_MICRO) |
| nanoseconds in a millisecond
|
#define | CL_MIN(a, b) ( (a) < (b) ? (a) : (b) ) |
| Mininum macro.
|
#define | CL_NO 0 |
| define No
|
#define | CL_OK 0x00 |
| Every thing is OK.
|
#define | CL_OUT |
| CL_OUT macro assists in clearly defining arguments of an API, but has no actual meaning.
|
#define | CL_RC(CID, ERROR_CODE) |
| This macro constructs the return code from the component identifier and error code.
|
#define | CL_ROUNDDOWN(VAL, BASE) ((VAL)/(BASE) * (BASE)) |
| Rounddown macro assumes integers - char, short, int and long as argument.
|
#define | CL_ROUNDUP(VAL, BASE) (((VAL) + (BASE) - 1)/(BASE) * (BASE)) |
| Roundup macro assumes integers - char, short, int and long as argument.
|
#define | CL_SEC_TO_MILLI 1000ULL |
| milliseconds in a second
|
#define | CL_SEC_TO_NANO (CL_MILLI_TO_NANO * CL_SEC_TO_MILLI) |
| nanoseconds in a second
|
#define | CL_SIZEOF_ARRAY(__ArrayName__) sizeof((__ArrayName__)) / sizeof((__ArrayName__)[0]) |
| The following macros returns the number of items in the given array.
|
#define | CL_TIME_END 0x7fffffffffffffffULL |
| In practice, this will never time out, since it is 292 years.
|
#define | CL_TIME_FOREVER 0x7fffffffffffffffULL |
| In practice, this will never time out, since it is 292 years.
|
#define | CL_TRUE 1 |
| define the Truth
|
#define | CL_YES 1 |
| define Yes
|
#define | clNamePrintf(name,...) |
| Load the ClNameT structure.
|