mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +00:00
* Fixed dummy choke groups default heuristics and other minor issues.
* Added 'd.group.name'. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1267 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -599,8 +599,9 @@ d_list_remove(core::Download* download, const torrent::Object& rawArgs, const ch
|
||||
std::placeholders::_1, std::placeholders::_2, \
|
||||
first_key, second_key));
|
||||
|
||||
int64_t cg_d_group(core::Download* download);
|
||||
void cg_d_group_set(core::Download* download, const torrent::Object& arg);
|
||||
int64_t cg_d_group(core::Download* download);
|
||||
const std::string& cg_d_group_name(core::Download* download);
|
||||
void cg_d_group_set(core::Download* download, const torrent::Object& arg);
|
||||
|
||||
void
|
||||
initialize_command_download() {
|
||||
@@ -816,8 +817,9 @@ initialize_command_download() {
|
||||
// std::bind(&core::Download::main, std::placeholders::_1)),
|
||||
// CG_GROUP_INDEX()));
|
||||
|
||||
CMD2_DL ("d.group", std::bind(&cg_d_group, std::placeholders::_1));;
|
||||
CMD2_DL_V ("d.group.set", std::bind(&cg_d_group_set, std::placeholders::_1, std::placeholders::_2));
|
||||
CMD2_DL ("d.group", std::bind(&cg_d_group, std::placeholders::_1));;
|
||||
CMD2_DL ("d.group.name", std::bind(&cg_d_group, std::placeholders::_1));;
|
||||
CMD2_DL_V ("d.group.set", std::bind(&cg_d_group_set, std::placeholders::_1, std::placeholders::_2));
|
||||
|
||||
CMD2_DL ("d.initialize_logs", std::bind(&cmd_d_initialize_logs, std::placeholders::_1));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user