Return to mqtt.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / mqtt / inc |
version 1.1.2.6, 2011/12/13 14:57:14 | version 1.2.2.2, 2012/04/27 10:07:50 |
---|---|
Line 2 | Line 2 |
#define __MQTT_H | #define __MQTT_H |
#define API_CLIENT_SIDE | |
#include <mqttapi.h> | |
struct tagArgs { | struct tagArgs { |
io_sockaddr_t addr; | io_sockaddr_t addr; |
u_short ka; | |
mqtt_msg_t *msg; | mqtt_msg_t *msg; |
ait_val_t ConnID; | ait_val_t ConnID; |
Line 15 struct tagArgs { | Line 20 struct tagArgs { |
ait_val_t Msg; | ait_val_t Msg; |
} Will; | } Will; |
u_short MsgID; | |
u_char Dup; | u_char Dup; |
u_char Retain; | u_char Retain; |
u_char QoS; | u_char QoS; |
u_char Clear; | u_char notClear; |
struct { | struct { |
u_char isFile; | u_char isFile; |
Line 27 struct tagArgs { | Line 34 struct tagArgs { |
ait_val_t Publish; | ait_val_t Publish; |
array_t *Subscribes; | mqtt_subscr_t *subscr; |
void (*free)(struct tagArgs*); | void (*free)(struct tagArgs*); |
}; | }; |