1: #ifndef __MQTT_H
2: #define __MQTT_H
3:
4:
5: struct tagArgs {
6: io_sockaddr_t addr;
7: mqtt_msg_t *msg;
8:
9: ait_val_t ConnID;
10: ait_val_t User;
11: ait_val_t Pass;
12:
13: struct {
14: ait_val_t Topic;
15: ait_val_t Msg;
16: } Will;
17:
18: u_char Dup;
19: u_char Retain;
20: u_char QoS;
21: u_char Clear;
22:
23: struct {
24: u_char isFile;
25: ait_val_t Value;
26: };
27:
28: ait_val_t Publish;
29:
30: array_t *Subscribes;
31:
32: void (*free)(struct tagArgs*);
33: };
34:
35: extern struct tagArgs *args;
36:
37:
38: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>