#include <ctime>#include <iostream>#include <fstream>#include <iomanip>#include <iterator>#include <algorithm>#include <set>#include <cctype>#include <numeric>#include <boost/lexical_cast.hpp>#include <boost/filesystem/convenience.hpp>#include <boost/bind.hpp>#include <boost/thread/mutex.hpp>#include "libtorrent/torrent_handle.hpp"#include "libtorrent/session.hpp"#include "libtorrent/torrent_info.hpp"#include "libtorrent/tracker_manager.hpp"#include "libtorrent/bencode.hpp"#include "libtorrent/hasher.hpp"#include "libtorrent/entry.hpp"#include "libtorrent/peer.hpp"#include "libtorrent/bt_peer_connection.hpp"#include "libtorrent/web_peer_connection.hpp"#include "libtorrent/peer_id.hpp"#include "libtorrent/alert.hpp"#include "libtorrent/identify_client.hpp"#include "libtorrent/alert_types.hpp"#include "libtorrent/extensions.hpp"#include "libtorrent/aux_/session_impl.hpp"Go to the source code of this file.
Namespaces | |
| namespace | libtorrent |
Typedefs | |
| typedef std::pair< int, char const * > | libtorrent::country_entry |
Enumerations | |
| enum | { tracker_retry_delay_min = 60, tracker_retry_delay_max = 10 * 60, tracker_failed_max = 5 } |
Functions | |
| int | calculate_block_size (const torrent_info &i, int default_block_size) |
| bool | libtorrent::compare_first (country_entry const &lhs, country_entry const &rhs) |
| anonymous enum |
Definition at line 98 of file torrent.cpp.
| int @290::calculate_block_size | ( | const torrent_info & | i, | |
| int | default_block_size | |||
| ) | [static] |
Definition at line 108 of file torrent.cpp.
References libtorrent::torrent_info::piece_length().
Referenced by libtorrent::torrent::init().
| tcp::endpoint const& ip |
Definition at line 143 of file torrent.cpp.
Referenced by bind_alert(), bind_peer_info(), Curl_if2ip(), Curl_SOCKS4(), Curl_SOCKS5(), ftp_state_pasv_resp(), ftp_state_use_port(), peer_index(), libtorrent::detail::read_v4_address(), and libtorrent::torrent_handle::write_resume_data().
Definition at line 160 of file torrent.cpp.
Referenced by bind_alert(), bind_peer_info(), libtorrent::peer_entry::operator<(), and libtorrent::peer_entry::operator==().
Definition at line 144 of file torrent.cpp.
Referenced by libtorrent::web_peer_connection::web_peer_connection().
1.5.6