proxy.hpp

Go to the documentation of this file.
00001 /* $Id: proxy.hpp 24730 2008-03-17 05:11:14Z dave $ */
00002 /*
00003    Copyright (C) 2007 - 2008
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 version 2
00008    or at your option any later version.
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY.
00011 
00012    See the COPYING file for more details.
00013 */
00014 
00015 #ifndef PROXY_HPP_INCLUDED
00016 #define PROXY_HPP_INCLUDED
00017 
00018 #include "network.hpp"
00019 #include "simple_wml.hpp"
00020 
00021 #include <string>
00022 
00023 namespace proxy
00024 {
00025 
00026 void create_proxy(network::connection sock, const std::string& host, int port);
00027 bool is_proxy(network::connection sock);
00028 void disconnect(network::connection sock);
00029 
00030 void received_data(network::connection sock, simple_wml::document& data);
00031 
00032 }
00033 
00034 #endif

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs