proxy.cpp File Reference

#include "global.hpp"
#include "proxy.hpp"
#include <map>

Include dependency graph for proxy.cpp:

Go to the source code of this file.

Namespaces

namespace  proxy

Typedefs

typedef std::map
< network::connection,
network::connection
connection_map

Functions

network::connection find_peer (network::connection sock)
void proxy::create_proxy (network::connection sock, const std::string &host, int port)
bool proxy::is_proxy (network::connection sock)
void proxy::disconnect (network::connection sock)
void proxy::received_data (network::connection sock, simple_wml::document &data)

Variables

connection_map clients_to_servers
connection_map servers_to_clients


Typedef Documentation

Definition at line 24 of file proxy.cpp.


Function Documentation

network::connection @277::find_peer ( network::connection  sock  )  [static]

Definition at line 27 of file proxy.cpp.

Referenced by proxy::disconnect(), and proxy::received_data().


Variable Documentation

Definition at line 25 of file proxy.cpp.

Referenced by proxy::create_proxy(), proxy::disconnect(), and proxy::is_proxy().

Definition at line 25 of file proxy.cpp.

Referenced by proxy::create_proxy(), proxy::disconnect(), and proxy::is_proxy().


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