]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 1996-2025 The Squid Software Foundation and contributors | |
3 | * | |
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. | |
7 | */ | |
8 | ||
9 | /* DEBUG: section 54 Interprocess Communication */ | |
10 | ||
11 | #ifndef SQUID_SRC_IPC_MESSAGES_H | |
12 | #define SQUID_SRC_IPC_MESSAGES_H | |
13 | ||
14 | /** Declarations used by various IPC messages */ | |
15 | ||
16 | namespace Ipc | |
17 | { | |
18 | ||
19 | /// message class identifier | |
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 | ||
31 | mtIpcIoNotification, | |
32 | ||
33 | mtCollapsedForwardingNotification, | |
34 | ||
35 | mtCacheMgrRequest, | |
36 | mtCacheMgrResponse, | |
37 | ||
38 | #if SQUID_SNMP | |
39 | mtSnmpRequest, | |
40 | mtSnmpResponse, | |
41 | #endif | |
42 | ||
43 | mtEnd ///< for message kind range checks; unused on the wire | |
44 | } MessageType; | |
45 | ||
46 | } // namespace Ipc; | |
47 | ||
48 | #endif /* SQUID_SRC_IPC_MESSAGES_H */ | |
49 |