]> git.ipfire.org Git - thirdparty/squid.git/blame - src/servers/forward.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / servers / forward.h
CommitLineData
bbc27441 1/*
4ac4a490 2 * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
bbc27441
AJ
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 20
055f8d59
AJ
21namespace One
22{
23class Server;
24} // namespace One
25
92ae4c86
AR
26/// create a new HTTP connection handler; never returns NULL
27ConnStateData *NewServer(MasterXactionPointer &xact);
28
29} // namespace Http
30
27c841f6
AR
31namespace Https
32{
92ae4c86
AR
33
34/// create a new HTTPS connection handler; never returns NULL
35ConnStateData *NewServer(MasterXactionPointer &xact);
36
37} // namespace Https
38
27c841f6
AR
39namespace Ftp
40{
92ae4c86
AR
41
42/// accept connections on all configured ftp_ports
43void StartListening();
44/// reject new connections to any configured ftp_port
45void StopListening();
46
47} // namespace Ftp
48
49#endif /* SQUID_SERVERS_FORWARD_H */
f53969cc 50