More work on aqhome-react.
- added some units - added some types
This commit is contained in:
@@ -9,12 +9,14 @@
|
||||
#ifndef AQHOME_REACT_H
|
||||
#define AQHOME_REACT_H
|
||||
|
||||
|
||||
#include <gwenhywfar/endpoint.h>
|
||||
|
||||
|
||||
typedef struct AQHOME_REACT AQHOME_REACT;
|
||||
|
||||
#include "aqhome-react/types/unit.h"
|
||||
#include "aqhome-react/types/unitnet.h"
|
||||
|
||||
|
||||
AQHOME_REACT *AqHomeReact_new();
|
||||
void AqHomeReact_free(AQHOME_REACT *aqh);
|
||||
@@ -28,7 +30,16 @@ void AqHomeReact_SetPidFile(AQHOME_REACT *aqh, const char *s);
|
||||
|
||||
int AqHomeReact_GetTimeout(const AQHOME_REACT *aqh);
|
||||
|
||||
AQHREACT_UNIT *AqHomeReact_GetTimerUnit(const AQHOME_REACT *aqh);
|
||||
AQHREACT_UNIT *AqHomeReact_GetVarChangeUnit(const AQHOME_REACT *aqh);
|
||||
|
||||
AQHREACT_UNIT_NET_LIST *AqHomeReact_GetUnitNetList(const AQHOME_REACT *aqh);
|
||||
void AqHomeReact_AddUnitNet(AQHOME_REACT *aqh, AQHREACT_UNIT_NET *unitNet);
|
||||
AQHREACT_UNIT_NET *AqHomeReact_GetUnitNetById(const AQHOME_REACT *aqh);
|
||||
|
||||
AQHREACT_UNIT *AqHomeReact_FindUnitByNetNameAndUnitId(const AQHOME_REACT *aqh, const char *netName, const char *unitId);
|
||||
|
||||
AQHREACT_UNIT *AqHomeReact_CreateUnitByName(AQHOME_REACT *aqh, const char *unitType);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user