]> git.ipfire.org Git - thirdparty/squid.git/blame - src/ipc/FdNotes.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / ipc / FdNotes.h
CommitLineData
0d0bce6a
AR
1/*
2 * $Id$
3 *
4 * DEBUG: section 54 Interprocess Communication
5 *
6 */
7
8#ifndef SQUID_IPC_FD_NOTES_H
9#define SQUID_IPC_FD_NOTES_H
10
11namespace Ipc
12{
13
14/// We cannot send char* FD notes to other processes. Pass int IDs and convert.
15
00516be1 16/// fd_note() label ID
7b1e5eb4 17typedef enum { fdnNone, fdnHttpSocket, fdnHttpsSocket,
f738d783 18#if SQUID_SNMP
5667a628 19 fdnInSnmpSocket, fdnOutSnmpSocket,
f738d783 20#endif
5667a628
AR
21 fdnInIcpSocket, fdnInHtcpSocket, fdnEnd
22 } FdNoteId;
0d0bce6a
AR
23
24extern const char *FdNote(int fdNodeId); ///< converts FdNoteId into a string
25
26} // namespace Ipc;
27
0d0bce6a 28#endif /* SQUID_IPC_FD_NOTES_H */