21 #include "rdk_moca_hal.h"
23 RMH_Result GENERIC_IMPL__RMH_Destroy(
const RMH_Handle handle) {
25 dlclose(handle->soclib);
27 if (handle->printBuf) {
28 free(handle->printBuf);
36 RMH_Result GENERIC_IMPL__RMH_Log_SetAPILevel(
const RMH_Handle handle,
const RMH_LogLevel value){
37 handle->logLevelBitMask=value;
41 RMH_Result GENERIC_IMPL__RMH_Log_GetAPILevel(
const RMH_Handle handle, RMH_LogLevel* response) {
42 *response=handle->logLevelBitMask;
46 RMH_Result GENERIC_IMPL__RMH_SetEventCallbacks(
const RMH_Handle handle,
const uint32_t value) {
47 handle->eventNotifyBitMask=value;
51 RMH_Result GENERIC_IMPL__RMH_GetEventCallbacks(
const RMH_Handle handle, uint32_t* response) {
52 *response=handle->eventNotifyBitMask;