00001 /* $Id: proxy.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */ 00002 /* 00003 Copyright (C) 2007 - 2012 00004 Part of the Battle for Wesnoth Project http://www.wesnoth.org/ 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY. 00012 00013 See the COPYING file for more details. 00014 */ 00015 00016 #ifndef PROXY_HPP_INCLUDED 00017 #define PROXY_HPP_INCLUDED 00018 00019 #include "network.hpp" 00020 #include "simple_wml.hpp" 00021 00022 #include <string> 00023 00024 namespace proxy 00025 { 00026 00027 void create_proxy(network::connection sock, const std::string& host, int port); 00028 bool is_proxy(network::connection sock); 00029 void disconnect(network::connection sock); 00030 00031 void received_data(network::connection sock, simple_wml::document& data); 00032 00033 } 00034 00035 #endif
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:03:10 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |