Files
aqhomecontrol/aqhome/mqtt/endpoint2_mqtt.h

41 lines
815 B
C

/****************************************************************************
* 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