--- mqtt/inc/mqtt.h 2011/12/12 09:45:16 1.1.2.2 +++ mqtt/inc/mqtt.h 2011/12/13 08:43:51 1.1.2.3 @@ -8,14 +8,14 @@ struct tagArgs { char Dup; char Retain; char QoS; - char *psPublish; - struct { - char *psValue; - char *psFile; - }; + char isFile; + ait_val_t Value; - int subsLen; - char *psSubscribe[1]; + ait_val_t Publish; + + array_t *Subscribes; + + void (*free)(struct tagArgs*); }; extern struct tagArgs *args;