1: #ifndef __RTLM_H
2: #define __RTLM_H
3:
4:
5: void mqttLog(const char *, ...);
6:
7: void *mqttLoadRTLM(sl_config*, int);
8: void mqttUnloadRTLM(int);
9:
10: inline int mqttMkDir(sl_config *);
11:
12:
13: struct tagCallbacks {
14: /* mqtt_acc.so */
15: void *(*OpenACC)(sl_config *);
16: void (*CloseACC)(void *);
17:
18: /* mqtt_pub.so */
19: void *(*OpenPUB)(sl_config *);
20: void (*ClosePUB)(void *);
21:
22: /* mqtt_log.so */
23: void *(*OpenLOG)(sl_config *);
24: void (*CloseLOG)(void *);
25: int (*LOG)(void *, const char *, ...);
26: };
27:
28:
29: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>