forward.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 
28 
29 typedef std::vector<Comm::ConnectionPointer> ConnectionList;
30 
32 
33 // callback handler to process an FD which is available for writing.
35 
37 void SetSelect(int, unsigned int, PF *, void *, time_t);
38 
39 }; // namespace Comm
40 
41 #endif /* _SQUID_COMM_FORWARD_H */
42 
PF HandleWrite
Definition: forward.h:34
std::vector< Comm::ConnectionPointer > ConnectionList
Definition: forward.h:29
int conn
the current server connection FD
Definition: Transport.cc:26
bool IsConnOpen(const Comm::ConnectionPointer &conn)
Definition: Connection.cc:24
void SetSelect(int, unsigned int, PF *, void *, time_t)
Mark an FD to be watched for its IO status.
Definition: ModDevPoll.cc:225
void PF(int, void *)
Definition: forward.h:18
RefCount< Comm::Connection > ConnectionPointer
Definition: forward.h:25

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors