An enumeration list used to define the various error conditions resulting from token processing.
typedef enum { MAC_FUNCTION_OK = MAC_NO_ERROR, MAC_FUNCTION_UNKNOWN = MAC_BASE_GENERAL_ERRORS, MAC_FUNCTION_NOTFOUND, MAC_FUNCTION_CANCEL, MAC_FUNCTION_ERROR, MAC_FUNCTION_INVALID_PARM, MAC_FUNCTION_INVALID, MAC_FUNCTION_NOT_HANDLED, MAC_FUNCTION_RETURN_LATER } MAC_TOKENERROR;
The following types are used:
MAC_TOKENERROR |
Enumerated token processing error type. |
The members are defined as follows:
MAC_FUNCTION_OK |
Function returned with no error condition. |
MAC_NO_ERROR |
Function returned with no error condition. |
MAC_FUNCTION_UNKNOWN |
Function is unknown. |
MAC_BASE_GENERAL_ERRORS |
Function is unknown. |
MAC_FUNCTION_NOTFOUND |
Function resulted in a Not Found condition. |
MAC_FUNCTION_CANCEL |
Function resulted in a Cancel condition. |
MAC_FUNCTION_ERROR |
Function resulted in an Error condition. |
MAC_FUNCTION_INVALID_PARM |
Function contained an invalid parameter. |
MAC_FUNCTION_INVALID |
Function is invalid at this time. |
MAC_FUNCTION_NOT_HANDLED |
Function was not handled. |
MAC_FUNCTION_RETURN_LATER |
Delays from token handling function returns. |