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