Squid Web Cache
master
Loading...
Searching...
No Matches
FdNotes.h
Go to the documentation of this file.
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
14
namespace
Ipc
15
{
16
18
20
typedef
enum
{
fdnNone
,
fdnHttpSocket
,
fdnHttpsSocket
,
fdnFtpSocket
,
21
#if SQUID_SNMP
22
fdnInSnmpSocket
,
fdnOutSnmpSocket
,
23
#endif
24
fdnInIcpSocket
,
fdnInHtcpSocket
,
fdnEnd
25
}
FdNoteId
;
26
27
const
char
*
FdNote
(
int
fdNodeId);
28
29
}
// namespace Ipc;
30
31
#endif
/* SQUID_SRC_IPC_FDNOTES_H */
32
Ipc
Definition
IpcIoFile.h:24
Ipc::FdNoteId
FdNoteId
We cannot send char* FD notes to other processes. Pass int IDs and convert.
Definition
FdNotes.h:20
Ipc::fdnNone
@ fdnNone
Definition
FdNotes.h:20
Ipc::fdnHttpSocket
@ fdnHttpSocket
Definition
FdNotes.h:20
Ipc::fdnInSnmpSocket
@ fdnInSnmpSocket
Definition
FdNotes.h:22
Ipc::fdnEnd
@ fdnEnd
Definition
FdNotes.h:24
Ipc::fdnInIcpSocket
@ fdnInIcpSocket
Definition
FdNotes.h:24
Ipc::fdnInHtcpSocket
@ fdnInHtcpSocket
Definition
FdNotes.h:24
Ipc::fdnOutSnmpSocket
@ fdnOutSnmpSocket
Definition
FdNotes.h:22
Ipc::fdnFtpSocket
@ fdnFtpSocket
Definition
FdNotes.h:20
Ipc::fdnHttpsSocket
@ fdnHttpsSocket
Definition
FdNotes.h:20
Ipc::FdNote
const char * FdNote(int fdNodeId)
converts FdNoteId into a string
Definition
FdNotes.cc:16
squid
src
ipc
FdNotes.h
Generated by
1.9.8