openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_UIO_SetUserDataFreeFunc()

int32_t BSL_UIO_SetUserDataFreeFunc ( BSL_UIO uio,
BSL_UIO_USERDATA_FREE_FUNC  userDataFreeFunc 
)

Release the user data set in the UIO object.

Free uio->userData at BSL_UIO_Free.

参数
uio[IN] UIO object
data[IN] Pointer to the function for releasing user data
返回值
BSL_SUCCESS,success.
BSL_NULL_INPUT,invalidnull pointer.