aqhome: started rewriting message code, start using new event2 lib.

This commit is contained in:
Martin Preuss
2025-02-25 01:13:07 +01:00
parent f1f24168e5
commit cf8edbbd5f
58 changed files with 5393 additions and 163 deletions

34
aqhome/ipc2/msgwriter_p.h Normal file
View File

@@ -0,0 +1,34 @@
/****************************************************************************
* This file is part of the project AqHome.
* AqHome (c) by 2025 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_MSGWRITER_P_H
#define AQH_MSGWRITER_P_H
#include "./msgwriter.h"
typedef struct AQH_MSG_WRITER AQH_MSG_WRITER;
struct AQH_MSG_WRITER {
int msgBufLen;
const uint8_t *msgBufPtr;
int bytesLeft;
const uint8_t *currentPtr;
uint32_t flags;
AQH_OBJECT *fdObject;
};
#endif