#include <nitro/mb.h>
typedef enum
{
MB_ERRCODE_SUCCESS = 0,
MB_ERRCODE_INVALID_PARAM,
MB_ERRCODE_INVALID_STATE,
/* for child only */
MB_ERRCODE_INVALID_DLFILEINFO,
MB_ERRCODE_INVALID_BLOCK_NO,
MB_ERRCODE_INVALID_BLOCK_NUM,
MB_ERRCODE_INVALID_FILE,
MB_ERRCODE_INVALID_RECV_ADDR,
MB_ERRCODE_WM_FAILURE,
MB_ERRCODE_FATAL,
MB_ERRCODE_MAX
} MBErrCode;
This shows the enumeration constants that indicate MB library error codes. The meaning of each enumerator constant is shown in the following table:
Constant | Description |
MB_ERRCODE_SUCCESS | The process succeeded. |
MB_ERRCODE_INVALID_PARAM | The parameter that is provided when the function is called, is invalid. This error value is normally determined at the beginning of the function and is returned immediately. |
MB_ERRCODE_INVALID_STATE | The MB library is not in the expected state. This error value is normally determined at the beginning of the function and is returned immediately. |
MB_ERRCODE_WM_FAILURE | All recoverable errors that are generated in the WM library that runs inside the MB library. This notification has been prepared for debugging. No user action is required when this notification appears. |
MB_ERRCODE_FATAL | MB library communications cannot continue. This status is usually caused by unexpected exceptions that are generated in an internally running WM library. Although the user does not need to do anything immediately after this notification arrives, after the MB library enters this state, it will not work until it is re-initialized. |
MB_ERRCODE_INVALID_DLFILEINFO | Only used by an IPL that is a child. |
MB_ERRCODE_INVALID_BLOCK_NO | |
MB_ERRCODE_INVALID_BLOCK_NUM | |
MB_ERRCODE_INVALID_FILE | |
MB_ERRCODE_INVALID_RECV_ADDR |
MBErrorStatus
MB_CommSetParentStateCallback
MB_CommGetParentState
09/27/2004 Initial version.