|
|
| version 1.1.2.8, 2011/12/29 14:13:13 | version 1.2.2.4, 2012/05/09 13:57:39 |
|---|---|
| Line 2 | Line 2 |
| #define __MQTT_H | #define __MQTT_H |
| #define API_CLIENT_SIDE | |
| #include <mqttapi.h> | |
| struct tagArgs { | struct tagArgs { |
| mqtt_cli_t *cli; | |
| io_sockaddr_t addr; | io_sockaddr_t addr; |
| u_short ka; | u_short ka; |
| mqtt_msg_t *msg; | mqtt_msg_t *msg; |
| Line 22 struct tagArgs { | Line 27 struct tagArgs { |
| u_char notClear; | u_char notClear; |
| struct { | struct { |
| FILE *isFile; | u_char isFile; |
| ait_val_t Value; | ait_val_t Value; |
| }; | }; |
| ait_val_t Publish; | ait_val_t Publish; |
| array_t *Subscribes; | mqtt_subscr_t *subscr; |
| void (*free)(struct tagArgs*); | void (*free)(struct tagArgs*); |
| }; | }; |