]>
Commit | Line | Data |
---|---|---|
0d0bce6a | 1 | /* |
bde978a6 | 2 | * Copyright (C) 1996-2015 The Squid Software Foundation and contributors |
0d0bce6a | 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. | |
0d0bce6a AR |
7 | */ |
8 | ||
bbc27441 AJ |
9 | /* DEBUG: section 54 Interprocess Communication */ |
10 | ||
0d0bce6a AR |
11 | #ifndef SQUID_IPC_FD_NOTES_H |
12 | #define SQUID_IPC_FD_NOTES_H | |
13 | ||
14 | namespace Ipc | |
15 | { | |
16 | ||
17 | /// We cannot send char* FD notes to other processes. Pass int IDs and convert. | |
18 | ||
00516be1 | 19 | /// fd_note() label ID |
434a79b0 | 20 | typedef enum { fdnNone, fdnHttpSocket, fdnHttpsSocket, fdnFtpSocket, |
f738d783 | 21 | #if SQUID_SNMP |
5667a628 | 22 | fdnInSnmpSocket, fdnOutSnmpSocket, |
f738d783 | 23 | #endif |
5667a628 AR |
24 | fdnInIcpSocket, fdnInHtcpSocket, fdnEnd |
25 | } FdNoteId; | |
0d0bce6a | 26 | |
82afb125 | 27 | const char *FdNote(int fdNodeId); ///< converts FdNoteId into a string |
0d0bce6a AR |
28 | |
29 | } // namespace Ipc; | |
30 | ||
0d0bce6a | 31 | #endif /* SQUID_IPC_FD_NOTES_H */ |
f53969cc | 32 |