openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_RegMemCallback()

int32_t BSL_SAL_RegMemCallback ( BSL_SAL_MemCallback cb)

Interface for registering memory-related callback functions

Register the memory application and release functions.

注意
None
参数
cb[IN] Pointer to the memory-related callback function
返回值
BSL_SUCCESS,memoryapplication and release functions are successfully registered.
BSL_SAL_ERR_BAD_PARAM0x02010003. If the cb is null or the cb members have null, caution fill the input parameter cb.