--- mqtt/inc/mqtt.h 2011/12/13 08:43:51 1.1.2.3 +++ mqtt/inc/mqtt.h 2011/12/13 14:57:14 1.1.2.6 @@ -4,12 +4,26 @@ struct tagArgs { io_sockaddr_t addr; + mqtt_msg_t *msg; - char Dup; - char Retain; - char QoS; - char isFile; - ait_val_t Value; + ait_val_t ConnID; + ait_val_t User; + ait_val_t Pass; + + struct { + ait_val_t Topic; + ait_val_t Msg; + } Will; + + u_char Dup; + u_char Retain; + u_char QoS; + u_char Clear; + + struct { + u_char isFile; + ait_val_t Value; + }; ait_val_t Publish;