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