version 1.1.2.3, 2011/11/23 08:50:03
|
version 1.2.2.5, 2012/05/08 14:27:46
|
Line 4
|
Line 4
|
|
|
void mqttLog(const char *, ...); |
void mqttLog(const char *, ...); |
|
|
void *mqttLoadRTLM(sl_config*, int); | void *mqttLoadRTLM(cfg_root_t*, int); |
void mqttUnloadRTLM(int); |
void mqttUnloadRTLM(int); |
|
|
inline int mqttMkDir(sl_config *); | inline int mqttMkDir(cfg_root_t *); |
|
|
|
|
void *(*mqttOpenACC)(sl_config *); | struct tagCallbacks { |
void (*mqttCloseACC)(void *); | /* mqtt_acc.so */ |
void *(*mqttOpenPUB)(sl_config *); | void *(*OpenACC)(cfg_root_t *); |
void (*mqttClosePUB)(void *); | void (*CloseACC)(void *); |
void *(*mqttOpenLOG)(sl_config *); | int (*LoginACC)(cfg_root_t *, void *, const char*, const char*); |
void (*mqttCloseLOG)(void *); | |
| /* mqtt_pub.so */ |
| void *(*OpenPUB)(cfg_root_t *); |
| void (*ClosePUB)(void *); |
| int (*InitSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*, char, ...); |
| 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 (*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); |
| |
| int (*WritePUB_subscribe)(cfg_root_t *, void *, const char*, u_short, const char*, const char*, const char*, char); |
| mqtt_subscr_t *(*ReadPUB_subscribe)(cfg_root_t *, void *, const char*, const char*); |
| int (*DeletePUB_subscribe)(cfg_root_t *, void *, const char*, const char*, const char*, const char*); |
| |
| /* mqtt_log.so */ |
| void *(*OpenLOG)(cfg_root_t *); |
| void (*CloseLOG)(void *); |
| int (*LOG)(void *, const char *, ...); |
| }; |
|
|
|
|
#endif |
#endif |