--- libaitmqtt/inc/aitmqtt.h 2012/01/26 14:57:57 1.1.1.1.2.2 +++ libaitmqtt/inc/aitmqtt.h 2012/01/27 15:12:27 1.1.1.1.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitmqtt.h,v 1.1.1.1.2.2 2012/01/26 14:57:57 misho Exp $ +* $Id: aitmqtt.h,v 1.1.1.1.2.3 2012/01/27 15:12:27 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -47,6 +47,10 @@ SUCH DAMAGE. #define __AITMQTT_H +#define MAX_CONNID 24 +#define MAX_CRED 13 +#define MQTTMSG_MAX 65529 + /* FIXED HEADER */ struct mqtthdr { @@ -137,10 +141,6 @@ typedef struct { void *msg_base; unsigned short msg_len; } mqtt_msg_t; - -/* MQTT hooks callback */ - -typedef void *(*mqtt_cb_t)(void *); /* MQTT structures */