version 1.1.2.1, 2011/11/23 00:42:16
|
version 1.1.2.10, 2011/11/28 13:19:39
|
Line 7 void mqttLog(const char *, ...);
|
Line 7 void mqttLog(const char *, ...);
|
void *mqttLoadRTLM(sl_config*, int); |
void *mqttLoadRTLM(sl_config*, int); |
void mqttUnloadRTLM(int); |
void mqttUnloadRTLM(int); |
|
|
sqlite3 *(*mqttOpenDB)(sl_config *cfg, int modtype); | inline int mqttMkDir(sl_config *); |
void (*mqttCloseDB)(sqlite3 *sql); | |
| |
| struct tagCallbacks { |
| /* mqtt_acc.so */ |
| void *(*OpenACC)(sl_config *); |
| void (*CloseACC)(void *); |
| int (*LoginACC)(sl_config *, void *, const char*, const char*, ...); |
| |
| /* mqtt_pub.so */ |
| void *(*OpenPUB)(sl_config *); |
| void (*ClosePUB)(void *); |
| int (*InitSessPUB)(sl_config *, void *, const char*, const char*, u_short); |
| int (*FiniSessPUB)(sl_config *, void *, const char*, const char*); |
| int (*ChkSessPUB)(sl_config *, void *, const char*, const char*); |
| int (*WritePUB)(sl_config *, void *, const char*, const char*, const char*, const char*, char); |
| int (*ReadPUB)(sl_config *, void *, const char*, char); |
| int (*DeletePUB)(sl_config *, void *, const char*, const char*, const char*, char); |
| |
| /* mqtt_log.so */ |
| void *(*OpenLOG)(sl_config *); |
| void (*CloseLOG)(void *); |
| int (*LOG)(void *, const char *, ...); |
| }; |
|
|
|
|
#endif |
#endif |