#include <boost/shared_ptr.hpp>#include <boost/lexical_cast.hpp>#include <boost/filesystem/fstream.hpp>#include <boost/filesystem/convenience.hpp>#include <boost/date_time/posix_time/posix_time.hpp>#include <vector>#include <utility>#include <numeric>#include "libtorrent/peer_connection.hpp"#include "libtorrent/bt_peer_connection.hpp"#include "libtorrent/hasher.hpp"#include "libtorrent/bencode.hpp"#include "libtorrent/torrent.hpp"#include "libtorrent/extensions.hpp"#include "libtorrent/extensions/metadata_transfer.hpp"Go to the source code of this file.
Namespaces | |
| namespace | libtorrent |
Functions | |
| int | libtorrent::div_round_up (int numerator, int denominator) |
| std::pair< int, int > | libtorrent::req_to_offset (std::pair< int, int > req, int total_size) |
| std::pair< int, int > | libtorrent::offset_to_req (std::pair< int, int > offset, int total_size) |
| boost::shared_ptr< torrent_plugin > | libtorrent::create_metadata_plugin (torrent *) |
| std::vector<bool> m_have_metadata |
Definition at line 200 of file metadata_transfer.cpp.
| std::pair<int, int> m_last_metadata_request |
Definition at line 445 of file metadata_transfer.cpp.
| int m_message_index |
Definition at line 426 of file metadata_transfer.cpp.
| std::vector<char> m_metadata |
Definition at line 190 of file metadata_transfer.cpp.
Definition at line 192 of file metadata_transfer.cpp.
| boost::posix_time::ptime m_metadata_request |
Definition at line 441 of file metadata_transfer.cpp.
| int m_metadata_size |
Definition at line 193 of file metadata_transfer.cpp.
| boost::posix_time::ptime m_no_metadata |
Definition at line 437 of file metadata_transfer.cpp.
| peer_connection& m_pc |
Definition at line 448 of file metadata_transfer.cpp.
| std::vector<int> m_requested_metadata |
Definition at line 203 of file metadata_transfer.cpp.
| torrent& m_torrent |
Definition at line 184 of file metadata_transfer.cpp.
Referenced by libtorrent::peer_connection::associated_torrent().
| metadata_plugin& m_tp |
Definition at line 449 of file metadata_transfer.cpp.
Definition at line 422 of file metadata_transfer.cpp.
1.5.6