]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/ipc/StrandCoord.cc
4 * DEBUG: section 54 Interprocess Communication
10 #include "ipc/Messages.h"
11 #include "ipc/StrandCoord.h"
12 #include "ipc/TypedMsgHdr.h"
15 Ipc::StrandCoord::StrandCoord(): kidId(-1), pid(0)
19 Ipc::StrandCoord::StrandCoord(int aKidId
, pid_t aPid
): kidId(aKidId
), pid(aPid
)
23 Ipc::StrandCoord::StrandCoord(const TypedMsgHdr
&hdrMsg
): kidId(-1), pid(0)
25 hdrMsg
.checkType(mtRegistration
);
29 void Ipc::StrandCoord::pack(TypedMsgHdr
&hdrMsg
) const
31 hdrMsg
.setType(mtRegistration
);