36 lines
913 B
C
36 lines
913 B
C
/****************************************************************************
|
|
* This file is part of the project AqHome.
|
|
* AqHome (c) by 2024 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_REACT_H
|
|
#define AQHOME_REACT_H
|
|
|
|
|
|
#include <gwenhywfar/endpoint.h>
|
|
|
|
|
|
typedef struct AQHOME_REACT AQHOME_REACT;
|
|
|
|
|
|
AQHOME_REACT *AqHomeReact_new();
|
|
void AqHomeReact_free(AQHOME_REACT *aqh);
|
|
|
|
GWEN_MSG_ENDPOINT *AqHomeReact_GetBrokerEndpoint(const AQHOME_REACT *aqh);
|
|
|
|
GWEN_DB_NODE *AqHomeReact_GetDbArgs(const AQHOME_REACT *aqh);
|
|
|
|
const char *AqHomeReact_GetPidFile(const AQHOME_REACT *aqh);
|
|
void AqHomeReact_SetPidFile(AQHOME_REACT *aqh, const char *s);
|
|
|
|
int AqHomeReact_GetTimeout(const AQHOME_REACT *aqh);
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|