version 1.2.2.2, 2012/02/01 15:44:40
|
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 *); |
|
|
|
|
struct tagCallbacks { |
struct tagCallbacks { |
/* mqtt_acc.so */ |
/* mqtt_acc.so */ |
void *(*OpenACC)(sl_config *); | void *(*OpenACC)(cfg_root_t *); |
void (*CloseACC)(void *); |
void (*CloseACC)(void *); |
int (*LoginACC)(sl_config *, void *, const char*, const char*); | int (*LoginACC)(cfg_root_t *, void *, const char*, const char*); |
|
|
/* mqtt_pub.so */ |
/* mqtt_pub.so */ |
void *(*OpenPUB)(sl_config *); | void *(*OpenPUB)(cfg_root_t *); |
void (*ClosePUB)(void *); |
void (*ClosePUB)(void *); |
int (*InitSessPUB)(sl_config *, void *, const char*, const char*, const char*, char, ...); | int (*InitSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*, char, ...); |
int (*FiniSessPUB)(sl_config *, void *, const char*, const char*, const char*); | int (*FiniSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*); |
int (*ChkSessPUB)(sl_config *, void *, const char*, const char*, const char*); | int (*ChkSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*); |
|
|
int (*WritePUB_topic)(sl_config *, void *, u_short, const char*, const char*, const char*, const char*, char); | int (*WritePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, const char*, |
mqtt_subscr_t *(*ReadPUB_topic)(sl_config *, void *, u_short, const char*, char); | const char*, const char*, char); |
int (*DeletePUB_topic)(sl_config *, void *, u_short, 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)(sl_config *, void *, u_short, const char*, 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)(sl_config *, void *, const char*); | mqtt_subscr_t *(*ReadPUB_subscribe)(cfg_root_t *, void *, const char*, const char*); |
int (*DeletePUB_subscribe)(sl_config *, void *, const char*, const char*, const char*, char); | int (*DeletePUB_subscribe)(cfg_root_t *, void *, const char*, const char*, const char*, const char*); |
|
|
/* mqtt_log.so */ |
/* mqtt_log.so */ |
void *(*OpenLOG)(sl_config *); | void *(*OpenLOG)(cfg_root_t *); |
void (*CloseLOG)(void *); |
void (*CloseLOG)(void *); |
int (*LOG)(void *, const char *, ...); |
int (*LOG)(void *, const char *, ...); |
}; |
}; |