forked from premiere/premiere-libtorrent
add set_priv and priv to create_torrent
This commit is contained in:
parent
186561e5ff
commit
b22082b77b
|
@ -78,10 +78,12 @@ namespace libtorrent
|
|||
void add_url_seed(std::string const& url);
|
||||
void add_node(std::pair<std::string, int> const& node);
|
||||
void add_tracker(std::string const& url, int tier = 0);
|
||||
void set_priv(bool p) const { return m_private = p; }
|
||||
|
||||
int num_pieces() const { return m_files.num_pieces(); }
|
||||
int piece_length() const { return m_files.piece_length(); }
|
||||
int piece_size(int i) const { return m_files.piece_size(i); }
|
||||
bool priv() const { return m_private; }
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in New Issue