--- mqtt/inc/mqtt.h 2011/12/13 15:23:43 1.1.2.7 +++ mqtt/inc/mqtt.h 2012/07/02 12:52:18 1.2.2.5 @@ -2,7 +2,13 @@ #define __MQTT_H +#define API_CLIENT_SIDE +#include +#include + + struct tagArgs { + mqtt_cli_t *cli; io_sockaddr_t addr; u_short ka; mqtt_msg_t *msg; @@ -28,7 +34,7 @@ struct tagArgs { ait_val_t Publish; - array_t *Subscribes; + mqtt_subscr_t *subscr; void (*free)(struct tagArgs*); };