accessor to the extension info from the info dictionary in a torrent file.
This commit is contained in:
@@ -173,6 +173,9 @@ namespace libtorrent
|
|||||||
|
|
||||||
void parse_info_section(entry const& e);
|
void parse_info_section(entry const& e);
|
||||||
|
|
||||||
|
entry extra(char const* key) const
|
||||||
|
{ return m_extra_info[key]; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void read_torrent_info(const entry& libtorrent);
|
void read_torrent_info(const entry& libtorrent);
|
||||||
|
Reference in New Issue
Block a user