]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ipc/StrandSearch.h
2 * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 #ifndef SQUID_IPC_STRAND_SEARCH_H
10 #define SQUID_IPC_STRAND_SEARCH_H
12 #include "ipc/forward.h"
13 #include "ipc/QuestionerId.h"
14 #include "ipc/StrandCoord.h"
15 #include "SquidString.h"
20 /// asynchronous strand search request
21 class StrandSearchRequest
24 explicit StrandSearchRequest(const String
&aTag
); ///< sender's constructor
25 explicit StrandSearchRequest(const TypedMsgHdr
&hdrMsg
); ///< from recvmsg()
26 void pack(TypedMsgHdr
&hdrMsg
) const; ///< prepare for sendmsg()
29 int requestorId
; ///< sender-provided return address
30 String tag
; ///< set when looking for a matching StrandCoord::tag
31 QuestionerId qid
; ///< the sender of the request
36 #endif /* SQUID_IPC_STRAND_SEARCH_H */