/* Register a callback to receive when inv_start_mpl() is called.  */
inv_error_t inv_register_mpl_start_notification(inv_error_t(*start_cb)(void))
/* Register a callback to receive when inv_start_mpl() is called.  */
inv_error_t inv_register_mpl_start_notification(inv_error_t(*start_cb)(void))
{
    if (inv_start_cb.num_cb >= INV_MAX_START_CB)
        return INV_ERROR_INVALID_PARAMETER;
    inv_start_cb.start_cb[inv_start_cb.num_cb] = start_cb;
    inv_start_cb.num_cb++;
    return INV_SUCCESS;
}