]> git.ipfire.org Git - thirdparty/squid.git/blame - src/servers/forward.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / servers / forward.h
CommitLineData
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
92ae4c86
AR
9#ifndef SQUID_SERVERS_FORWARD_H
10#define SQUID_SERVERS_FORWARD_H
11
12class MasterXaction;
13template <class C> class RefCount;
14typedef RefCount<MasterXaction> MasterXactionPointer;
15
aea65fec
AR
16class ConnStateData;
17
27c841f6
AR
18namespace Http
19{
92ae4c86
AR
20
21/// create a new HTTP connection handler; never returns NULL
22ConnStateData *NewServer(MasterXactionPointer &xact);
23
24} // namespace Http
25
27c841f6
AR
26namespace Https
27{
92ae4c86
AR
28
29/// create a new HTTPS connection handler; never returns NULL
30ConnStateData *NewServer(MasterXactionPointer &xact);
31
32} // namespace Https
33
27c841f6
AR
34namespace Ftp
35{
92ae4c86
AR
36
37/// accept connections on all configured ftp_ports
38void StartListening();
39/// reject new connections to any configured ftp_port
40void StopListening();
41
42} // namespace Ftp
43
44#endif /* SQUID_SERVERS_FORWARD_H */
f53969cc 45