Annotation of mqtt/inc/mqtt.h, revision 1.2.2.4
1.2 misho 1: #ifndef __MQTT_H
2: #define __MQTT_H
3:
4:
1.2.2.1 misho 5: #define API_CLIENT_SIDE
6: #include <mqttapi.h>
7:
8:
1.2 misho 9: struct tagArgs {
1.2.2.3 misho 10: mqtt_cli_t *cli;
1.2 misho 11: io_sockaddr_t addr;
12: u_short ka;
13: mqtt_msg_t *msg;
14:
15: ait_val_t ConnID;
16: ait_val_t User;
17: ait_val_t Pass;
18:
19: struct {
20: ait_val_t Topic;
21: ait_val_t Msg;
22: } Will;
23:
24: u_char Dup;
25: u_char Retain;
26: u_char QoS;
27: u_char notClear;
28:
29: struct {
30: u_char isFile;
31: ait_val_t Value;
32: };
33:
34: ait_val_t Publish;
35:
1.2.2.2 misho 36: mqtt_subscr_t *subscr;
1.2 misho 37:
38: void (*free)(struct tagArgs*);
39: };
40:
41: extern struct tagArgs *args;
42:
43:
44: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>