]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/ipc/FdNotes.h
Fix SQUID_YESNO 'syntax error near unexpected token' (#2117)
[thirdparty/squid.git] / src / ipc / FdNotes.h
... / ...
CommitLineData
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_FDNOTES_H
12#define SQUID_SRC_IPC_FDNOTES_H
13
14namespace Ipc
15{
16
17/// We cannot send char* FD notes to other processes. Pass int IDs and convert.
18
19/// fd_note() label ID
20typedef enum { fdnNone, fdnHttpSocket, fdnHttpsSocket, fdnFtpSocket,
21#if SQUID_SNMP
22 fdnInSnmpSocket, fdnOutSnmpSocket,
23#endif
24 fdnInIcpSocket, fdnInHtcpSocket, fdnEnd
25 } FdNoteId;
26
27const char *FdNote(int fdNodeId); ///< converts FdNoteId into a string
28
29} // namespace Ipc;
30
31#endif /* SQUID_SRC_IPC_FDNOTES_H */
32