--- libaitmqtt/inc/Attic/mqttsrv.h 2022/09/15 15:04:44 1.1.2.1 +++ libaitmqtt/inc/Attic/mqttsrv.h 2022/09/15 16:03:44 1.1.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: mqttsrv.h,v 1.1.2.1 2022/09/15 15:04:44 misho Exp $ +* $Id: mqttsrv.h,v 1.1.2.2 2022/09/15 16:03:44 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -67,13 +67,11 @@ typedef struct { * mqtt_srv_cliInit() Init MQTT server side support for clients * * @sock = Client socket from accept() - * @buf = Message buffer * @timeout = timeout * @nb = Non block socket * return: NULL error or !=NULL allocated server handle */ -mqtt_srv_t *mqtt_srv_cliInit(int sock, mqtt_msg_t * __restrict buf, - unsigned short timeout, int nb); +mqtt_srv_t *mqtt_srv_cliInit(int sock, unsigned short timeout, int nb); /* * mqtt_srv_Fini() Finish MQTT server side support for clients *