--- mqtt/inc/rtlm.h 2012/05/08 14:27:46 1.2.2.5 +++ mqtt/inc/rtlm.h 2012/06/26 13:43:59 1.2.2.8 @@ -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,8 +23,8 @@ 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); + 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*, u_short, 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);