--- mqtt/inc/rtlm.h 2012/05/08 14:27:46 1.2.2.5 +++ mqtt/inc/rtlm.h 2012/07/03 07:48:49 1.2.2.9 @@ -5,7 +5,7 @@ void mqttLog(const char *, ...); void *mqttLoadRTLM(cfg_root_t*, int); -void mqttUnloadRTLM(int); +void mqttUnloadRTLM(void*); inline int mqttMkDir(cfg_root_t *); @@ -23,9 +23,9 @@ struct tagCallbacks { int (*FiniSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*); int (*ChkSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*); - int (*WritePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, const char*, - const char*, const char*, char); - mqtt_subscr_t *(*ReadPUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, char); + int (*WritePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, void *, int, + const char*, const char*, char, char); + mqtt_subscr_t *(*ReadPUB_topic)(cfg_root_t *, void *, const char*, const char*, char); int (*DeletePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, const char*, const char*, char); int (*WipePUB_topic)(cfg_root_t *, void *, const char*, const char*, char);