Files
aqhomecontrol/aqhome/ipc/msg_ipc_setaccmsggrps.h
Martin Preuss ce85548938 aqhome: added ipc message and calls to set acceptable msg groups for ipc endpoint.
this filters the messages which are copied to the ipc client.
2023-04-17 01:13:59 +02:00

30 lines
889 B
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_MSGIPC_SETACCEPTEDMSGGRPS_H
#define AQH_MSGIPC_SETACCEPTEDMSGGRPS_H
#include <aqhome/api.h>
#include <aqhome/ipc/msg_ipc.h>
#include <gwenhywfar/msg.h>
#include <gwenhywfar/buffer.h>
AQHOME_API GWEN_MSG *AQH_SetAcceptedMsgGroupsIpcMsg_new(uint16_t code, uint32_t groups);
AQHOME_API uint32_t AQH_SetAcceptedMsgGroupsIpcMsg_GetMsgGroups(const GWEN_MSG *msg);
AQHOME_API void AQH_SetAcceptedMsgGroupsIpcMsg_DumpToBuffer(const GWEN_MSG *msg, GWEN_BUFFER *dbuf, const char *sText);
#endif