/**************************************************************************** * This file is part of the project AqHome. * AqHome (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 AQHOME_MQTT_H #define AQHOME_MQTT_H #include "./mqttvalue.h" #include "./mqtttopic.h" #include typedef struct AQHOME_MQTT AQHOME_MQTT; AQHOME_MQTT *AqHomeMqtt_new(); void AqHomeMqtt_free(AQHOME_MQTT *aqh); GWEN_MSG_ENDPOINT *AqHomeMqtt_GetBrokerEndpoint(const AQHOME_MQTT *aqh); GWEN_MSG_ENDPOINT *AqHomeMqtt_GetMqttEndpoint(const AQHOME_MQTT *aqh); GWEN_DB_NODE *AqHomeMqtt_GetDbArgs(const AQHOME_MQTT *aqh); const char *AqHomeMqtt_GetPidFile(const AQHOME_MQTT *aqh); void AqHomeMqtt_SetPidFile(AQHOME_MQTT *aqh, const char *s); int AqHomeMqtt_GetTimeout(const AQHOME_MQTT *aqh); #endif