]>
Commit | Line | Data |
---|---|---|
92ae4c86 AR |
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 | namespace Http { | |
9 | ||
10 | /// create a new HTTP connection handler; never returns NULL | |
11 | ConnStateData *NewServer(MasterXactionPointer &xact); | |
12 | ||
13 | } // namespace Http | |
14 | ||
15 | namespace Https { | |
16 | ||
17 | /// create a new HTTPS connection handler; never returns NULL | |
18 | ConnStateData *NewServer(MasterXactionPointer &xact); | |
19 | ||
20 | } // namespace Https | |
21 | ||
22 | namespace Ftp { | |
23 | ||
24 | /// accept connections on all configured ftp_ports | |
25 | void StartListening(); | |
26 | /// reject new connections to any configured ftp_port | |
27 | void StopListening(); | |
28 | ||
29 | } // namespace Ftp | |
30 | ||
31 | #endif /* SQUID_SERVERS_FORWARD_H */ |