add set_priv and priv to create_torrent

This commit is contained in:
Arvid Norberg 2008-07-21 17:04:31 +00:00
parent 186561e5ff
commit b22082b77b
1 changed files with 2 additions and 0 deletions

View File

@ -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: