]>
Commit | Line | Data |
---|---|---|
bbc27441 AJ |
1 | /* |
2 | * Copyright (C) 1996-2014 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 | ||
f9b72e0c AJ |
9 | #ifndef _SQUID_COMM_FORWARD_H |
10 | #define _SQUID_COMM_FORWARD_H | |
11 | ||
8bf217bd | 12 | #include "base/RefCount.h" |
523c3de3 FC |
13 | |
14 | #include <vector> | |
f9b72e0c | 15 | |
af14e062 | 16 | /// Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets. |
dc49061a A |
17 | namespace Comm |
18 | { | |
f9b72e0c AJ |
19 | |
20 | class Connection; | |
af14e062 | 21 | class ConnOpener; |
f9b72e0c AJ |
22 | |
23 | typedef RefCount<Comm::Connection> ConnectionPointer; | |
24 | ||
523c3de3 | 25 | typedef std::vector<Comm::ConnectionPointer> ConnectionList; |
f9b72e0c | 26 | |
97c81191 AJ |
27 | bool IsConnOpen(const Comm::ConnectionPointer &conn); |
28 | ||
f9b72e0c AJ |
29 | }; // namespace Comm |
30 | ||
31 | #endif /* _SQUID_COMM_FORWARD_H */ |