Files
aqhomecontrol/apps/aqhome-react/aqhome_react_p.h
Martin Preuss d3a6256c8c More work on aqhome-react.
- added some units
- added some types
2024-03-10 20:15:21 +01:00

41 lines
1.0 KiB
C

/****************************************************************************
* 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_REACT_P_H
#define AQHOME_REACT_P_H
#include "./aqhome_react.h"
#define AQHOME_REACT_DEFAULT_PIDFILE "/var/run/aqhome-react.pid"
#define AQHOME_REACT_DEFAULT_DATADIR "/var/lib/aqhome-react"
#define AQHOME_REACT_DEFAULT_BROKER_PORT 1899
#define AQHOME_REACT_DEFAULT_BROKER_CLIENTID "react"
struct AQHOME_REACT {
GWEN_MSG_ENDPOINT *brokerEndpoint;
GWEN_DB_NODE *dbArgs;
char *pidFile;
int timeout; /* timeout for run e.g. inside valgrind */
AQHREACT_UNIT *timerUnit;
AQHREACT_UNIT *varChangeUnit;
AQHREACT_UNIT_LIST *unitList;
AQHREACT_UNIT_NET_LIST *unitNetList;
};
#endif