aqhome: add requests functions.

This commit is contained in:
Martin Preuss
2024-10-01 22:03:32 +02:00
parent 8199f7c3b0
commit 9c2001285b
3 changed files with 173 additions and 0 deletions

30
aqhome/ipc/requests.h Normal file
View File

@@ -0,0 +1,30 @@
/****************************************************************************
* This file is part of the project AqHome.
* AqHome (c) by 2024 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 AQHOME_REQUESTS_H
#define AQHOME_REQUESTS_H
#include <aqhome/api.h>
#include <gwenhywfar/request.h>
AQHOME_API void AQH_Requests_CheckTimeouts(GWEN_MSG_REQUEST *requestTreeRoot);
AQHOME_API void AQH_Requests_Cleanup(GWEN_MSG_REQUEST *requestTreeRoot);
AQHOME_API int AQH_Requests_HandleIpcMsg(GWEN_MSG_REQUEST *requestTreeRoot, GWEN_MSG_ENDPOINT *srcEp, GWEN_MSG *recvdMsg);
AQHOME_API int AQH_Requests_HandleTtyMsg(GWEN_MSG_REQUEST *requestTreeRoot, GWEN_MSG_ENDPOINT *srcEp, GWEN_MSG *recvdMsg);
#endif