--- mqtt/inc/rtlm.h 2012/05/08 14:27:46 1.2.2.5 +++ mqtt/inc/rtlm.h 2012/06/26 08:05:58 1.2.2.7 @@ -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,7 +23,7 @@ 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*, + int (*WritePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, void *, int, const char*, const char*, char); mqtt_subscr_t *(*ReadPUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, char); int (*DeletePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, const char*, const char*, char);