squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
comm
forward.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2022 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
#ifndef _SQUID_COMM_FORWARD_H
10
#define _SQUID_COMM_FORWARD_H
11
12
#include "
base/RefCount.h
"
13
14
#include <vector>
15
18
typedef
void
PF
(
int
,
void
*);
19
21
namespace
Comm
22
{
23
24
class
Connection
;
25
class
ConnOpener;
26
class
TcpKeepAlive;
27
28
typedef
RefCount<Comm::Connection>
ConnectionPointer
;
29
30
bool
IsConnOpen
(
const
Comm::ConnectionPointer
&
conn
);
31
32
// callback handler to process an FD which is available for writing.
33
PF
HandleWrite
;
34
36
void
SetSelect
(
int
,
unsigned
int
,
PF
*,
void
*, time_t);
37
38
};
// namespace Comm
39
40
#endif
/* _SQUID_COMM_FORWARD_H */
41
Comm
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition:
AcceptLimiter.h:17
Comm::IsConnOpen
bool IsConnOpen(const Comm::ConnectionPointer &conn)
Definition:
Connection.cc:27
conn
int conn
the current server connection FD
Definition:
Transport.cc:26
Security::Connection
SSL Connection
Definition:
Session.h:45
RefCount< Comm::Connection >
Comm::ConnectionPointer
RefCount< Comm::Connection > ConnectionPointer
Definition:
forward.h:26
Comm::SetSelect
void SetSelect(int, unsigned int, PF *, void *, time_t)
Mark an FD to be watched for its IO status.
Definition:
ModDevPoll.cc:223
Comm::HandleWrite
PF HandleWrite
Definition:
forward.h:33
RefCount.h
PF
void PF(int, void *)
Definition:
forward.h:18
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive