Diff for /libaitmqtt/inc/mqttapi.h between versions 1.3 and 1.3.2.1

version 1.3, 2012/06/29 13:54:48 version 1.3.2.1, 2012/06/29 15:23:10
Line 129  int mqtt_srv_Listen(int sock, int maxconn, int nb); Line 129  int mqtt_srv_Listen(int sock, int maxconn, int nb);
  * return: -1 error, 0 host is alive, 1 timeout session or 2 broken session   * return: -1 error, 0 host is alive, 1 timeout session or 2 broken session
  */   */
 int mqtt_KeepAlive(int sock, unsigned short ka, unsigned char tries);  int mqtt_KeepAlive(int sock, unsigned short ka, unsigned char tries);
   /*
    * mqtt_WillMessage() - Publish WILL message
    *
    * @sock = connected socket
    * @ka = keep alive timeout
    * @topic = will topic
    * @data = will message
    * return: -1 error, 1 timeout, 2 not ack or 0 ok
    */
   int mqtt_WillMessage(int sock, unsigned short ka, const char *topic, const char *data);
   
   
 #ifdef API_CLIENT_SIDE  #ifdef API_CLIENT_SIDE

Removed from v.1.3  
changed lines
  Added in v.1.3.2.1


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