#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 () |
| 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] |
| 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] |
| list @42::nodes | ( | torrent_info const & | ti | ) | [static] |
Definition at line 32 of file torrent_info.cpp.
References libtorrent::torrent_info::nodes().
Referenced by libtorrent::aux::session_impl::add_torrent(), libtorrent::dht::announce_fun(), bind_torrent_info(), libtorrent::dht::dht_tracker::dht_tracker(), main(), libtorrent::dht::dht_tracker::on_receive(), libtorrent::dht::routing_table::size(), and libtorrent::dht::dht_tracker::state().
1.5.6