extend some documentation
This commit is contained in:
parent
197ded5a0d
commit
59da9f35a8
|
@ -42,9 +42,13 @@ namespace libtorrent
|
||||||
struct bdecode_node;
|
struct bdecode_node;
|
||||||
|
|
||||||
// these functions are used to parse resume data and populate the appropriate
|
// 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
|
// 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
|
TORRENT_EXPORT add_torrent_params read_resume_data(bdecode_node const& rd
|
||||||
, error_code& ec);
|
, error_code& ec);
|
||||||
TORRENT_EXPORT add_torrent_params read_resume_data(char const* buffer
|
TORRENT_EXPORT add_torrent_params read_resume_data(char const* buffer
|
||||||
|
|
Loading…
Reference in New Issue