More work on node/pc interface.
- added AQH_MSG_ENDPOINT - added AQH_MsgEndpointLog - added AQH_MsgEndpointTcp - added AQH_MsgEndpointTty - added AQH_MsgEndpointMgr
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <aqhome/api.h>
|
||||
|
||||
#include <gwenhywfar/list.h>
|
||||
#include <gwenhywfar/buffer.h>
|
||||
|
||||
|
||||
|
||||
@@ -39,6 +40,9 @@
|
||||
#define AQH_MSG_TYPE_DENY_ADDRESS 63
|
||||
#define AQH_MSG_TYPE_ADDRESS_RANGE 64
|
||||
|
||||
/* internal msg types via NET interface */
|
||||
#define AQH_MSG_TYPE_NET_SET_ACCEPTED_MSGGROUPS 200
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -49,6 +53,7 @@ GWEN_LIST_FUNCTION_LIB_DEFS(AQH_MSG, AQH_Msg, AQHOME_API)
|
||||
|
||||
AQHOME_API AQH_MSG *AQH_Msg_new();
|
||||
AQHOME_API void AQH_Msg_free(AQH_MSG *msg);
|
||||
AQHOME_API AQH_MSG *AQH_Msg_dup(const AQH_MSG *srcMsg);
|
||||
|
||||
AQHOME_API uint8_t *AQH_Msg_GetBuffer(AQH_MSG *msg);
|
||||
AQHOME_API const uint8_t *AQH_Msg_GetConstBuffer(const AQH_MSG *msg);
|
||||
@@ -69,6 +74,8 @@ AQHOME_API int AQH_Msg_IsMsgComplete(const AQH_MSG *msg);
|
||||
AQHOME_API int AQH_Msg_IsChecksumValid(const AQH_MSG *msg);
|
||||
AQHOME_API int AQH_Msg_AddChecksum(AQH_MSG *msg);
|
||||
|
||||
AQHOME_API void AQH_Msg_DumpToBuffer(const AQH_MSG *msg, GWEN_BUFFER *dbuf, const char *sText);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user