]> git.ipfire.org Git - thirdparty/squid.git/blame - src/servers/forward.h
Major source layout change: Moved FTP code into servers/, clients/, and ftp/.
[thirdparty/squid.git] / src / servers / forward.h
CommitLineData
92ae4c86
AR
1#ifndef SQUID_SERVERS_FORWARD_H
2#define SQUID_SERVERS_FORWARD_H
3
4class MasterXaction;
5template <class C> class RefCount;
6typedef RefCount<MasterXaction> MasterXactionPointer;
7
8namespace Http {
9
10/// create a new HTTP connection handler; never returns NULL
11ConnStateData *NewServer(MasterXactionPointer &xact);
12
13} // namespace Http
14
15namespace Https {
16
17/// create a new HTTPS connection handler; never returns NULL
18ConnStateData *NewServer(MasterXactionPointer &xact);
19
20} // namespace Https
21
22namespace Ftp {
23
24/// accept connections on all configured ftp_ports
25void StartListening();
26/// reject new connections to any configured ftp_port
27void StopListening();
28
29} // namespace Ftp
30
31#endif /* SQUID_SERVERS_FORWARD_H */