*** empty log message ***
This commit is contained in:
parent
6410cac43c
commit
4a1951f6f2
|
@ -150,7 +150,11 @@ namespace libtorrent
|
|||
void filter_pieces(std::vector<bool> const& bitmask);
|
||||
bool is_piece_filtered(int index) 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;
|
||||
|
||||
void use_interface(const char* net_interface);
|
||||
|
|
|
@ -230,7 +230,11 @@ namespace libtorrent
|
|||
void filter_pieces(std::vector<bool> const& pieces);
|
||||
bool is_piece_filtered(int index) 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
|
||||
// to.
|
||||
void use_interface(const char* net_interface);
|
||||
|
|
|
@ -113,7 +113,7 @@ namespace libtorrent
|
|||
{ assert(m_piece_length > 0); return (int)m_files.size(); }
|
||||
const file_entry& file_at(int index) const
|
||||
{ assert(index >= 0 && index < (int)m_files.size()); return m_files[index]; }
|
||||
|
||||
|
||||
const std::vector<announce_entry>& trackers() const { return m_urls; }
|
||||
|
||||
size_type total_size() const { assert(m_piece_length > 0); return m_total_size; }
|
||||
|
|
Loading…
Reference in New Issue