--- mqtt/inc/mqtt.h 2011/12/08 14:52:47 1.1.2.1 +++ mqtt/inc/mqtt.h 2011/12/13 09:01:43 1.1.2.4 @@ -2,5 +2,26 @@ #define __MQTT_H +struct tagArgs { + io_sockaddr_t addr; + + ait_val_t User; + ait_val_t Pass; + + char Dup; + char Retain; + char QoS; + char isFile; + ait_val_t Value; + + ait_val_t Publish; + + array_t *Subscribes; + + void (*free)(struct tagArgs*); +}; + +extern struct tagArgs *args; + #endif