mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 20:22:31 +00:00
* Moving ChokeManager to 'torrent/download/choke_queue.h' and cleaning up code.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1221 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include <torrent/connection_manager.h>
|
||||
#include <torrent/data/file.h>
|
||||
#include <torrent/data/file_list.h>
|
||||
#include <torrent/download/resource_manager.h>
|
||||
#include <torrent/peer/connection_list.h>
|
||||
#include <torrent/peer/peer_list.h>
|
||||
#include <torrent/utils/option_strings.h>
|
||||
@@ -742,6 +743,15 @@ initialize_command_download() {
|
||||
CMD2_DL ("d.priority_str", std::bind(&retrieve_d_priority_str, std::placeholders::_1));
|
||||
CMD2_DL_VALUE_V ("d.priority.set", std::bind(&core::Download::set_priority, std::placeholders::_1, std::placeholders::_2));
|
||||
|
||||
CMD2_DL ("d.group", std::bind(&torrent::resource_manager_entry::group,
|
||||
std::bind(&torrent::ResourceManager::entry_at, torrent::resource_manager(),
|
||||
std::bind(&core::Download::main, std::placeholders::_1))));
|
||||
CMD2_DL_VALUE_V ("d.group.set", std::bind(&torrent::ResourceManager::set_group,
|
||||
torrent::resource_manager(),
|
||||
std::bind(&torrent::ResourceManager::find_throw, torrent::resource_manager(),
|
||||
std::bind(&core::Download::main, std::placeholders::_1)),
|
||||
std::placeholders::_2));
|
||||
|
||||
CMD2_DL ("d.initialize_logs", std::bind(&cmd_d_initialize_logs, std::placeholders::_1));
|
||||
|
||||
CMD2_DL_LIST ("f.multicall", std::bind(&f_multicall, std::placeholders::_1, std::placeholders::_2));
|
||||
|
||||
Reference in New Issue
Block a user