]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ipc/StrandSearch.cc
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 /* DEBUG: section 54 Interprocess Communication */
13 #include "ipc/Messages.h"
14 #include "ipc/StrandSearch.h"
15 #include "ipc/TypedMsgHdr.h"
17 Ipc::StrandSearchRequest::StrandSearchRequest(const String
&aTag
):
18 requestorId(KidIdentifier
),
24 Ipc::StrandSearchRequest::StrandSearchRequest(const TypedMsgHdr
&hdrMsg
):
27 hdrMsg
.checkType(mtFindStrand
);
28 hdrMsg
.getPod(requestorId
);
29 hdrMsg
.getString(tag
);
33 void Ipc::StrandSearchRequest::pack(TypedMsgHdr
&hdrMsg
) const
35 hdrMsg
.setType(mtFindStrand
);
36 hdrMsg
.putPod(requestorId
);
37 hdrMsg
.putString(tag
);