--- libaitmqtt/src/pub.c 2012/06/28 11:06:17 1.3 +++ libaitmqtt/src/pub.c 2013/05/30 09:18:33 1.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: pub.c,v 1.3 2012/06/28 11:06:17 misho Exp $ +* $Id: pub.c,v 1.4 2013/05/30 09:18:33 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -160,7 +160,7 @@ _mqtt_msgPUB_(mqtt_msg_t * __restrict buf, u_char cmd, * @msgID = MessageID * return: -1 error or >-1 message size for send */ -inline int +int mqtt_msgPUBACK(mqtt_msg_t * __restrict buf, u_short msgID) { return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBACK, msgID); @@ -173,7 +173,7 @@ mqtt_msgPUBACK(mqtt_msg_t * __restrict buf, u_short ms * @msgID = MessageID * return: -1 error or >-1 message size for send */ -inline int +int mqtt_msgPUBREC(mqtt_msg_t * __restrict buf, u_short msgID) { return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBREC, msgID); @@ -186,7 +186,7 @@ mqtt_msgPUBREC(mqtt_msg_t * __restrict buf, u_short ms * @msgID = MessageID * return: -1 error or >-1 message size for send */ -inline int +int mqtt_msgPUBREL(mqtt_msg_t * __restrict buf, u_short msgID) { return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBREL, msgID); @@ -199,7 +199,7 @@ mqtt_msgPUBREL(mqtt_msg_t * __restrict buf, u_short ms * @msgID = MessageID * return: -1 error or >-1 message size for send */ -inline int +int mqtt_msgPUBCOMP(mqtt_msg_t * __restrict buf, u_short msgID) { return _mqtt_msgPUB_(buf, MQTT_TYPE_PUBCOMP, msgID);