version 1.1.1.1, 2012/01/26 13:07:33
|
version 1.1.1.1.2.4, 2012/05/08 09:07:31
|
Line 48 SUCH DAMAGE.
|
Line 48 SUCH DAMAGE.
|
|
|
|
|
#define STRSIZ 256 |
#define STRSIZ 256 |
#define MAX_CONNID 24 |
|
#define MAX_CRED 13 |
|
#define MQTTMSG_MAX 65529 |
|
#define WILDCARDS "/#+" |
#define WILDCARDS "/#+" |
#define MQTT_CONNFLGS_INIT { 1, 1, 1, 3, 1, 1, 1 } |
#define MQTT_CONNFLGS_INIT { 1, 1, 1, 3, 1, 1, 1 } |
|
|
#define MQTT_DATA_MAX 268435455 |
|
#define MQTT_CONN_STR "MQIsdp" |
#define MQTT_CONN_STR "MQIsdp" |
#define MQTT_PROTO_VER 3 |
|
#define MQTT_KEEPALIVE 10 |
|
#define MQTT_DEFAULT_MSGID 0xDEBA |
|
|
|
|
|
#define LOGERR { \ |
#define LOGERR { \ |
Line 70 SUCH DAMAGE.
|
Line 63 SUCH DAMAGE.
|
extern int mqtt_Errno; |
extern int mqtt_Errno; |
extern char mqtt_Error[STRSIZ]; |
extern char mqtt_Error[STRSIZ]; |
|
|
inline void mqtt_SetErr(int eno, char *estr, ...); | inline void mqtt_SetErr(int, char *, ...); |
inline struct mqtthdr *_mqtt_readHEADER(mqtt_msg_t * __restrict, u_char, int *, int *); |
inline struct mqtthdr *_mqtt_readHEADER(mqtt_msg_t * __restrict, u_char, int *, int *); |
|
|
|
inline int mqtt_wait4data(int, u_short, short); |
|
|
|
|
#endif |
#endif |