D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/bindings/python/src/torrent_info.cpp File Reference

#include <boost/python.hpp>
#include <libtorrent/torrent_info.hpp>

Go to the source code of this file.

Functions

std::vector< announce_entry >
::const_iterator 
begin_trackers (torrent_info &i)
std::vector< announce_entry >
::const_iterator 
end_trackers (torrent_info &i)
void add_node (torrent_info &ti, char const *hostname, int port)
list nodes (torrent_info const &ti)
void bind_torrent_info ()


Function Documentation

void @42::add_node ( torrent_info ti,
char const *  hostname,
int  port 
) [static]

Definition at line 27 of file torrent_info.cpp.

References libtorrent::torrent_info::add_node().

Referenced by bind_torrent_info().

std::vector<announce_entry>::const_iterator @42::begin_trackers ( torrent_info i  )  [static]

Definition at line 17 of file torrent_info.cpp.

References libtorrent::torrent_info::trackers().

void bind_torrent_info (  ) 

Definition at line 48 of file torrent_info.cpp.

References add_node(), begin_trackers(), end_trackers(), nodes(), and piece_size.

Referenced by BOOST_PYTHON_MODULE().

std::vector<announce_entry>::const_iterator @42::end_trackers ( torrent_info i  )  [static]

Definition at line 22 of file torrent_info.cpp.

References libtorrent::torrent_info::trackers().

list @42::nodes ( torrent_info const &  ti  )  [static]


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