version 1.1.2.5, 2011/11/24 00:08:56
|
version 1.1.2.10, 2011/11/25 15:29:30
|
Line 77 mqttLoadRTLM(sl_config *cfg, int modtype)
|
Line 77 mqttLoadRTLM(sl_config *cfg, int modtype)
|
acc_rtlm = rtlm; |
acc_rtlm = rtlm; |
call.OpenACC = mqttOpenRTLM; |
call.OpenACC = mqttOpenRTLM; |
call.CloseACC = mqttCloseRTLM; |
call.CloseACC = mqttCloseRTLM; |
|
call.LoginACC = dlsym(rtlm, "mqtt_rtlm_login"); |
break; |
break; |
case 1: |
case 1: |
pub_rtlm = rtlm; |
pub_rtlm = rtlm; |
call.OpenPUB = mqttOpenRTLM; |
call.OpenPUB = mqttOpenRTLM; |
call.ClosePUB = mqttCloseRTLM; |
call.ClosePUB = mqttCloseRTLM; |
|
call.InitSessPUB = dlsym(rtlm, "mqtt_rtlm_init_session"); |
|
call.FiniSessPUB = dlsym(rtlm, "mqtt_rtlm_fini_session"); |
|
call.ChkSessPUB = dlsym(rtlm, "mqtt_rtlm_chk_session"); |
|
call.WritePUB = dlsym(rtlm, "mqtt_rtlm_write_topic"); |
|
call.ReadPUB = dlsym(rtlm, "mqtt_rtlm_read_topic"); |
|
call.DeletePUB = dlsym(rtlm, "mqtt_rtlm_delete_topic"); |
break; |
break; |
default: |
default: |
log_rtlm = rtlm; |
log_rtlm = rtlm; |