mqtt: started working on 2nd generation msgio implementation.

This commit is contained in:
Martin Preuss
2023-07-08 01:58:43 +02:00
parent b4175f4a89
commit d766a3635a
3 changed files with 149 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
/****************************************************************************
* This file is part of the project Gwenhywfar.
* Gwenhywfar (c) by 2023 Martin Preuss, all rights reserved.
*
* The license for this file can be found in the file COPYING which you
* should have received along with this file.
****************************************************************************/
#ifndef AQH_ENDPOINT2_MQTTC_H
#define AQH_ENDPOINT2_MQTTC_H
#include <aqhome/api.h>
#include <gwenhywfar/endpoint2.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* Extends the given endpoint to support MQTT messages. It expects the function GWEN_MsgIoEndpoint2_Extend() to have been called
* beforehand.
*/
AQHOME_API void AQH_MqttEndpoint2_Extend(GWEN_MSG_ENDPOINT2 *ep);
#ifdef __cplusplus
}
#endif
#endif