Annotation of mqtt/inc/rtlm.h, revision 1.3
1.2 misho 1: #ifndef __RTLM_H
2: #define __RTLM_H
3:
4:
5: void mqttLog(const char *, ...);
6:
1.3 ! misho 7: void *mqttLoadRTLM(cfg_root_t*, int);
! 8: void mqttUnloadRTLM(void*);
1.2 misho 9:
1.3 ! misho 10: inline int mqttMkDir(cfg_root_t *);
1.2 misho 11:
12:
13: struct tagCallbacks {
14: /* mqtt_acc.so */
1.3 ! misho 15: void *(*OpenACC)(cfg_root_t *);
1.2 misho 16: void (*CloseACC)(void *);
1.3 ! misho 17: int (*LoginACC)(cfg_root_t *, void *, const char*, const char*);
1.2 misho 18:
19: /* mqtt_pub.so */
1.3 ! misho 20: void *(*OpenPUB)(cfg_root_t *);
1.2 misho 21: void (*ClosePUB)(void *);
1.3 ! misho 22: int (*InitSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*, char, ...);
! 23: int (*FiniSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*);
! 24: int (*ChkSessPUB)(cfg_root_t *, void *, const char*, const char*, const char*);
! 25:
! 26: int (*WritePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, void *, int,
! 27: const char*, const char*, char, char);
! 28: mqtt_subscr_t *(*ReadPUB_topic)(cfg_root_t *, void *, const char*, const char*, char);
! 29: int (*DeletePUB_topic)(cfg_root_t *, void *, const char*, u_short, const char*, const char*, const char*, char);
! 30: int (*WipePUB_topic)(cfg_root_t *, void *, const char*, const char*, char);
! 31:
! 32: int (*WritePUB_subscribe)(cfg_root_t *, void *, const char*, u_short, const char*, const char*, const char*, char);
! 33: mqtt_subscr_t *(*ReadPUB_subscribe)(cfg_root_t *, void *, const char*, const char*);
! 34: int (*DeletePUB_subscribe)(cfg_root_t *, void *, const char*, const char*, const char*, const char*);
1.2 misho 35:
36: /* mqtt_log.so */
1.3 ! misho 37: void *(*OpenLOG)(cfg_root_t *);
1.2 misho 38: void (*CloseLOG)(void *);
39: int (*LOG)(void *, const char *, ...);
40: };
41:
42:
43: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>