--- mqtt/inc/mqtt.h 2011/12/13 09:01:43 1.1.2.4 +++ mqtt/inc/mqtt.h 2011/12/13 15:23:43 1.1.2.7 @@ -4,15 +4,27 @@ struct tagArgs { io_sockaddr_t addr; + u_short ka; + mqtt_msg_t *msg; + ait_val_t ConnID; ait_val_t User; ait_val_t Pass; - char Dup; - char Retain; - char QoS; - char isFile; - ait_val_t Value; + struct { + ait_val_t Topic; + ait_val_t Msg; + } Will; + + u_char Dup; + u_char Retain; + u_char QoS; + u_char notClear; + + struct { + u_char isFile; + ait_val_t Value; + }; ait_val_t Publish;