46 lines
1.1 KiB
C
46 lines
1.1 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 AQH_MSG_IPC_DATA_GETDATA_H
|
|
#define AQH_MSG_IPC_DATA_GETDATA_H
|
|
|
|
|
|
#include <aqhome/api.h>
|
|
|
|
#include <aqhome/data/value.h>
|
|
|
|
#include <gwenhywfar/msg_ipc.h>
|
|
|
|
|
|
/**
|
|
* This message is used in request AQH_MSGTYPE_IPC_DATA_ADDVALUE_REQ.
|
|
*/
|
|
|
|
#define AQH_MSGDATA_GETDATA_TAGS_NAME 0x0001
|
|
#define AQH_MSGDATA_GETDATA_TAGS_BEGIN 0x0020
|
|
#define AQH_MSGDATA_GETDATA_TAGS_END 0x0021
|
|
|
|
|
|
|
|
AQHOME_API GWEN_MSG *AQH_GetDataDataIpcMsg_new(uint16_t code, const char *valueName, uint64_t tsBegin, uint64_t tsEnd);
|
|
|
|
AQHOME_API void AQH_GetDataDataIpcMsg_Parse(GWEN_MSG *msg, int doCopy);
|
|
|
|
AQHOME_API void AQH_GetDataDataIpcMsg_DumpToBuffer(const GWEN_MSG *msg, GWEN_BUFFER *dbuf, const char *sText);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|