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