added constructor to torrent_info that loads a file directly

This commit is contained in:
Arvid Norberg
2008-05-12 06:35:24 +00:00
parent 2fbe53f880
commit 149fa28586
3 changed files with 44 additions and 4 deletions

View File

@@ -111,6 +111,7 @@ namespace libtorrent
torrent_info();
torrent_info(sha1_hash const& info_hash);
torrent_info(entry const& torrent_file);
torrent_info(char const* filename);
~torrent_info();
entry create_torrent() const;