]>
Commit | Line | Data |
---|---|---|
1bac0258 | 1 | /* |
1f7b830e | 2 | * Copyright (C) 1996-2025 The Squid Software Foundation and contributors |
1bac0258 | 3 | * |
bbc27441 AJ |
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. | |
1bac0258 AR |
7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 54 Interprocess Communication */ |
10 | ||
ff9d9458 FC |
11 | #ifndef SQUID_SRC_IPC_MESSAGES_H |
12 | #define SQUID_SRC_IPC_MESSAGES_H | |
1bac0258 | 13 | |
f738d783 | 14 | /** Declarations used by various IPC messages */ |
1bac0258 AR |
15 | |
16 | namespace Ipc | |
17 | { | |
18 | ||
f9b9f3bc | 19 | /// message class identifier |
6ccfd70a EB |
20 | typedef enum { mtNone = 0, ///< unspecified or unknown message kind; unused on the wire |
21 | ||
22 | mtRegisterStrand, ///< notifies about our strand existence | |
23 | mtStrandRegistered, ///< acknowledges mtRegisterStrand acceptance | |
24 | ||
25 | mtFindStrand, ///< a worker requests a strand from Coordinator | |
26 | mtStrandReady, ///< an mtFindStrand answer: the strand exists and should be usable | |
27 | ||
28 | mtSharedListenRequest, | |
29 | mtSharedListenResponse, | |
30 | ||
0b8be48b | 31 | mtIpcIoNotification, |
6ccfd70a | 32 | |
0b8be48b | 33 | mtCollapsedForwardingNotification, |
6ccfd70a EB |
34 | |
35 | mtCacheMgrRequest, | |
36 | mtCacheMgrResponse, | |
37 | ||
f738d783 | 38 | #if SQUID_SNMP |
6ccfd70a EB |
39 | mtSnmpRequest, |
40 | mtSnmpResponse, | |
f738d783 | 41 | #endif |
6ccfd70a EB |
42 | |
43 | mtEnd ///< for message kind range checks; unused on the wire | |
5667a628 | 44 | } MessageType; |
1bac0258 | 45 | |
1bac0258 AR |
46 | } // namespace Ipc; |
47 | ||
ff9d9458 | 48 | #endif /* SQUID_SRC_IPC_MESSAGES_H */ |
f53969cc | 49 |