]> git.ipfire.org Git - thirdparty/squid.git/blob - src/servers/forward.h
Fixes and polishing in response to Amos' squid-dev review dated 2014/08/10.
[thirdparty/squid.git] / src / servers / forward.h
1 #ifndef SQUID_SERVERS_FORWARD_H
2 #define SQUID_SERVERS_FORWARD_H
3
4 class MasterXaction;
5 template <class C> class RefCount;
6 typedef RefCount<MasterXaction> MasterXactionPointer;
7
8 class ConnStateData;
9
10 namespace Http
11 {
12
13 /// create a new HTTP connection handler; never returns NULL
14 ConnStateData *NewServer(MasterXactionPointer &xact);
15
16 } // namespace Http
17
18 namespace Https
19 {
20
21 /// create a new HTTPS connection handler; never returns NULL
22 ConnStateData *NewServer(MasterXactionPointer &xact);
23
24 } // namespace Https
25
26 namespace Ftp
27 {
28
29 /// accept connections on all configured ftp_ports
30 void StartListening();
31 /// reject new connections to any configured ftp_port
32 void StopListening();
33
34 } // namespace Ftp
35
36 #endif /* SQUID_SERVERS_FORWARD_H */