version 1.2.2.4, 2012/04/24 08:06:08
|
version 1.2.2.6, 2012/05/08 14:27:46
|
Line 53 mqttLoadRTLM(cfg_root_t *cfg, int modtype)
|
Line 53 mqttLoadRTLM(cfg_root_t *cfg, int modtype)
|
return NULL; |
return NULL; |
} |
} |
|
|
rtlm = dlopen(str, RTLD_LAZY); | rtlm = dlopen(str, RTLD_NOW); |
if (!rtlm) { |
if (!rtlm) { |
mqttLog("Error:: RTL module %s not found %s\n", str, dlerror()); |
mqttLog("Error:: RTL module %s not found %s\n", str, dlerror()); |
return NULL; |
return NULL; |
Line 94 mqttLoadRTLM(cfg_root_t *cfg, int modtype)
|
Line 94 mqttLoadRTLM(cfg_root_t *cfg, int modtype)
|
call.WritePUB_topic = dlsym(rtlm, "mqtt_rtlm_write_topic"); |
call.WritePUB_topic = dlsym(rtlm, "mqtt_rtlm_write_topic"); |
call.ReadPUB_topic = dlsym(rtlm, "mqtt_rtlm_read_topic"); |
call.ReadPUB_topic = dlsym(rtlm, "mqtt_rtlm_read_topic"); |
call.DeletePUB_topic = dlsym(rtlm, "mqtt_rtlm_delete_topic"); |
call.DeletePUB_topic = dlsym(rtlm, "mqtt_rtlm_delete_topic"); |
|
call.WipePUB_topic = dlsym(rtlm, "mqtt_rtlm_wipe_topic"); |
call.WritePUB_subscribe = dlsym(rtlm, "mqtt_rtlm_write_subscribe"); |
call.WritePUB_subscribe = dlsym(rtlm, "mqtt_rtlm_write_subscribe"); |
call.ReadPUB_subscribe = dlsym(rtlm, "mqtt_rtlm_read_subscribe"); |
call.ReadPUB_subscribe = dlsym(rtlm, "mqtt_rtlm_read_subscribe"); |
call.DeletePUB_subscribe = dlsym(rtlm, "mqtt_rtlm_delete_subscribe"); |
call.DeletePUB_subscribe = dlsym(rtlm, "mqtt_rtlm_delete_subscribe"); |