*** empty log message ***
This commit is contained in:
@@ -156,6 +156,7 @@ class session: public boost::noncopyable
|
||||
session(int listen_port, const std::string& fingerprint = std::string());
|
||||
|
||||
torrent_handle add_torrent(const torrent_info& t, const std::string& save_path);
|
||||
void remove_torrent(const torrent_handle& h);
|
||||
|
||||
void set_http_settings(const http_settings& settings);
|
||||
};
|
||||
@@ -170,6 +171,11 @@ want to save the files. The <tt>save_path</tt> will be prepended to the director
|
||||
structure in the torrent-file.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<tt>remove_torrent()</tt> will close all peer connections associated with the torrent and tell
|
||||
the tracker that we've stopped participating in the swarm.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If the torrent you are trying to add already exists in the session (is either queued
|
||||
for checking, being checked or downloading) <tt>add_torrent()</tt> will throw
|
||||
@@ -476,7 +482,6 @@ Its declaration looks like this:
|
||||
struct torrent_handle
|
||||
{
|
||||
torrent_handle();
|
||||
void abort();
|
||||
|
||||
torrent_status status() const;
|
||||
void get_download_queue(std::vector<partial_piece_info>& queue);
|
||||
@@ -490,13 +495,6 @@ perform any operation on it, unless you first assign it a valid handle. If you t
|
||||
any operation they will simply return.
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
<tt>abort()</tt> will close all peer connections associated with this torrent and tell
|
||||
the tracker that we've stopped participating in the swarm. This handle will become invalid
|
||||
shortly after this call has been made.
|
||||
</p>
|
||||
|
||||
<h3>status()</h3>
|
||||
|
||||
<p>
|
||||
|
Reference in New Issue
Block a user