/* * Copyright (C) 1996-2017 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #ifndef SQUID_SERVERS_FORWARD_H #define SQUID_SERVERS_FORWARD_H class MasterXaction; template class RefCount; typedef RefCount MasterXactionPointer; class ConnStateData; namespace Http { /// create a new HTTP connection handler; never returns NULL ConnStateData *NewServer(MasterXactionPointer &xact); } // namespace Http namespace Https { /// create a new HTTPS connection handler; never returns NULL ConnStateData *NewServer(MasterXactionPointer &xact); } // namespace Https namespace Ftp { /// accept connections on all configured ftp_ports void StartListening(); /// reject new connections to any configured ftp_port void StopListening(); } // namespace Ftp #endif /* SQUID_SERVERS_FORWARD_H */