D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/src/kademlia/dht_tracker.cpp File Reference

#include <fstream>
#include <set>
#include <numeric>
#include <stdexcept>
#include <boost/bind.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/date_time/posix_time/ptime.hpp>
#include <boost/ref.hpp>
#include <boost/optional.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/filesystem/operations.hpp>
#include "libtorrent/kademlia/node.hpp"
#include "libtorrent/kademlia/node_id.hpp"
#include "libtorrent/kademlia/traversal_algorithm.hpp"
#include "libtorrent/kademlia/dht_tracker.hpp"
#include "libtorrent/socket.hpp"
#include "libtorrent/bencode.hpp"
#include "libtorrent/io.hpp"
#include "libtorrent/version.hpp"

Go to the source code of this file.

Namespaces

namespace  libtorrent
namespace  libtorrent::dht

Typedefs

typedef asio::ip::address_v4 address

Functions

boost::optional< node_id > read_id (libtorrent::entry const &d)
template<class EndpointType>
void read_endpoint_list (libtorrent::entry const *n, std::vector< EndpointType > &epl)
TORRENT_EXPORT void libtorrent::dht::intrusive_ptr_add_ref (dht_tracker const *)
TORRENT_EXPORT void libtorrent::dht::intrusive_ptr_release (dht_tracker const *)

Variables

const int tick_period = 1


Typedef Documentation

Definition at line 49 of file dht_tracker.cpp.


Function Documentation

template<class EndpointType>
void @272::read_endpoint_list ( libtorrent::entry const *  n,
std::vector< EndpointType > &  epl 
) [inline, static]

Definition at line 83 of file dht_tracker.cpp.

References libtorrent::entry::list().

boost::optional<node_id> @272::read_id ( libtorrent::entry const &  d  )  [static]

Definition at line 67 of file dht_tracker.cpp.

References libtorrent::entry::find_key(), and libtorrent::entry::type().


Variable Documentation

int& count

const int tick_period = 1 [static]

Definition at line 53 of file dht_tracker.cpp.


Generated on Sun May 25 00:19:42 2008 by  doxygen 1.5.6