]> git.ipfire.org Git - thirdparty/squid.git/blob - src/comm/forward.h
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / comm / forward.h
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
9 #ifndef _SQUID_COMM_FORWARD_H
10 #define _SQUID_COMM_FORWARD_H
11
12 #include "base/RefCount.h"
13
14 #include <vector>
15
16 /// Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
17 namespace Comm
18 {
19
20 class Connection;
21 class ConnOpener;
22
23 typedef RefCount<Comm::Connection> ConnectionPointer;
24
25 typedef std::vector<Comm::ConnectionPointer> ConnectionList;
26
27 bool IsConnOpen(const Comm::ConnectionPointer &conn);
28
29 }; // namespace Comm
30
31 #endif /* _SQUID_COMM_FORWARD_H */