extend some documentation

This commit is contained in:
arvidn 2016-02-08 17:30:25 -05:00 committed by arvidn
parent 197ded5a0d
commit 59da9f35a8
1 changed files with 6 additions and 2 deletions

View File

@ -42,9 +42,13 @@ namespace libtorrent
struct bdecode_node;
// these functions are used to parse resume data and populate the appropriate
// fields in an add_torrent_param object. This object can then be used to add
// fields in an add_torrent_params object. This object can then be used to add
// the actual torrent_info object to and pass to session::add_torrent() or
// session::async_add_torrent()
// session::async_add_torrent().
//
// If the client wants to override any field that was loaded from the resume
// data, e.g. save_path, those fields must be changed after loading resume
// data but before adding the torrent.
TORRENT_EXPORT add_torrent_params read_resume_data(bdecode_node const& rd
, error_code& ec);
TORRENT_EXPORT add_torrent_params read_resume_data(char const* buffer