Diff for /mqtt/inc/Attic/aitmqtt.h between versions 1.1.1.1.2.1 and 1.1.1.1.2.3

version 1.1.1.1.2.1, 2011/11/07 13:34:06 version 1.1.1.1.2.3, 2011/11/07 14:01:58
Line 2 Line 2
 #define __AITMQTT_H  #define __AITMQTT_H
   
   
   #define MQTT_DATA_MAX           268435455
   
 struct mqtthdr {  struct mqtthdr {
         unsigned char   mqtt_retain : 1,           unsigned char   mqtt_retain : 1, 
                         mqtt_qos : 2,                          mqtt_qos : 2,
Line 86  inline unsigned int mqtt_encodeLen(unsigned int num); Line 88  inline unsigned int mqtt_encodeLen(unsigned int num);
 /*  /*
  * mqtt_decodeLen() Decode length from MQTT packet   * mqtt_decodeLen() Decode length from MQTT packet
  * @len = length   * @len = length
    * @n = sizeof bytes, if !=NULL
  * return: -1 error, >-1 length of message   * return: -1 error, >-1 length of message
  */   */
inline unsigned int mqtt_decodeLen(unsigned int len);inline unsigned int mqtt_decodeLen(unsigned int len, char *n);
 /*
  * mqtt_sizeLen Return sizeof len field
  * @len = length
  * return: -1 error, >-1 sizeof len in bytes
  */
 inline char mqtt_sizeLen(unsigned int len);
   
   
 #endif  #endif

Removed from v.1.1.1.1.2.1  
changed lines
  Added in v.1.1.1.1.2.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>