*** empty log message ***
This commit is contained in:
@@ -150,7 +150,11 @@ namespace libtorrent
|
|||||||
void filter_pieces(std::vector<bool> const& bitmask);
|
void filter_pieces(std::vector<bool> const& bitmask);
|
||||||
bool is_piece_filtered(int index) const;
|
bool is_piece_filtered(int index) const;
|
||||||
void filtered_pieces(std::vector<bool>& bitmask) const;
|
void filtered_pieces(std::vector<bool>& bitmask) const;
|
||||||
|
|
||||||
|
//idea from Arvid and MooPolice
|
||||||
|
//todo refactoring and improving the function body
|
||||||
|
void filter_file(int index, bool filter);
|
||||||
|
|
||||||
torrent_status status() const;
|
torrent_status status() const;
|
||||||
|
|
||||||
void use_interface(const char* net_interface);
|
void use_interface(const char* net_interface);
|
||||||
|
@@ -230,7 +230,11 @@ namespace libtorrent
|
|||||||
void filter_pieces(std::vector<bool> const& pieces);
|
void filter_pieces(std::vector<bool> const& pieces);
|
||||||
bool is_piece_filtered(int index) const;
|
bool is_piece_filtered(int index) const;
|
||||||
std::vector<bool> filtered_pieces() const;
|
std::vector<bool> filtered_pieces() const;
|
||||||
|
|
||||||
|
//idea from Arvid and MooPolice
|
||||||
|
//todo refactoring and improving the function body
|
||||||
|
void filter_file(int index, bool filter);
|
||||||
|
|
||||||
// set the interface to bind outgoing connections
|
// set the interface to bind outgoing connections
|
||||||
// to.
|
// to.
|
||||||
void use_interface(const char* net_interface);
|
void use_interface(const char* net_interface);
|
||||||
|
@@ -113,7 +113,7 @@ namespace libtorrent
|
|||||||
{ assert(m_piece_length > 0); return (int)m_files.size(); }
|
{ assert(m_piece_length > 0); return (int)m_files.size(); }
|
||||||
const file_entry& file_at(int index) const
|
const file_entry& file_at(int index) const
|
||||||
{ assert(index >= 0 && index < (int)m_files.size()); return m_files[index]; }
|
{ assert(index >= 0 && index < (int)m_files.size()); return m_files[index]; }
|
||||||
|
|
||||||
const std::vector<announce_entry>& trackers() const { return m_urls; }
|
const std::vector<announce_entry>& trackers() const { return m_urls; }
|
||||||
|
|
||||||
size_type total_size() const { assert(m_piece_length > 0); return m_total_size; }
|
size_type total_size() const { assert(m_piece_length > 0); return m_total_size; }
|
||||||
|
Reference in New Issue
Block a user