-
Notifications
You must be signed in to change notification settings - Fork 638
Expand file tree
/
Copy pathFdNotes.h
More file actions
32 lines (23 loc) · 870 Bytes
/
FdNotes.h
File metadata and controls
32 lines (23 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Copyright (C) 1996-2026 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
/* DEBUG: section 54 Interprocess Communication */
#ifndef SQUID_SRC_IPC_FDNOTES_H
#define SQUID_SRC_IPC_FDNOTES_H
namespace Ipc
{
/// We cannot send char* FD notes to other processes. Pass int IDs and convert.
/// fd_note() label ID
typedef enum { fdnNone, fdnHttpSocket, fdnHttpsSocket, fdnFtpSocket,
#if SQUID_SNMP
fdnInSnmpSocket, fdnOutSnmpSocket,
#endif
fdnInIcpSocket, fdnInHtcpSocket, fdnEnd
} FdNoteId;
const char *FdNote(int fdNodeId); ///< converts FdNoteId into a string
} // namespace Ipc;
#endif /* SQUID_SRC_IPC_FDNOTES_H */