Diff for /mqtt/inc/Attic/aitmqtt.h between versions 1.1.1.1.2.21 and 1.1.1.1.2.23

version 1.1.1.1.2.21, 2011/11/22 15:25:19 version 1.1.1.1.2.23, 2011/12/05 10:37:17
Line 95  typedef union { Line 95  typedef union {
 } mqtt_v_t;  } mqtt_v_t;
   
 typedef struct {  typedef struct {
        mqtt_v_t        sub_sb;        unsigned char   sub_ret;
        char            *sub_data;        struct __sbuf   sub_topic;
        unsigned char   sub_qos;        struct __sbuf   sub_value;
 } mqtt_subscr_t;  } mqtt_subscr_t;
   
 typedef struct {  typedef struct {
Line 178  inline unsigned int mqtt_encodeLen(unsigned int num); Line 178  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 from MQTT header
  * @n = sizeof bytes, if !=NULL   * @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, char *n);inline unsigned int mqtt_decodeLen(void * __restrict len, int * __restrict n);
 /*  /*
  * mqtt_sizeLen Return sizeof len field   * mqtt_sizeLen Return sizeof len field
  *   *

Removed from v.1.1.1.1.2.21  
changed lines
  Added in v.1.1.1.1.2.23


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