Files
aqhomecontrol/aqhome/ipc2/msgrequest_p.h
2025-02-26 20:59:20 +01:00

46 lines
1.0 KiB
C

/****************************************************************************
* This file is part of the project Gwenhywfar.
* Gwenhywfar (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_MSGREQUEST_P_H
#define AQH_MSGREQUEST_P_H
#include "./msgrequest.h"
struct AQH_MSG_REQUEST {
GWEN_INHERIT_ELEMENT(AQH_MSG_REQUEST)
GWEN_TREE2_ELEMENT(AQH_MSG_REQUEST)
int requestType;
AQH_MESSAGE *requestMsg; /* msg this request is based on */
AQH_OBJECT *endpoint; /* source/dest endpoint for this request */
uint32_t requestMsgId;
AQH_MESSAGE_LIST *msgList;
GWEN_TIMESTAMP *createdAt;
GWEN_TIMESTAMP *expiresAt;
AQH_MSG_REQUEST_HANDLERESPONSE_FN handleResponseFn;
AQH_MSG_REQUEST_SUBREQUESTFINISHED_FN subRequestFinishedFn;
AQH_MSG_REQUEST_ABORT_FN abortFn;
void *privateData;
int state;
int result;
};
#endif