mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 18:52:30 +00:00
* Cleaning up command names. The deprecated commands will be redirected.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1131 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -202,14 +202,11 @@ add_variable(key, NULL, NULL, &rpc::CommandVariable::get_string, NULL, std::stri
|
||||
rpc::commands.insert_type(key, commandAnySlotsItr++, &rpc::CommandSlot<rpc::target_type>::function, \
|
||||
rpc::CommandMap::flag_dont_delete | rpc::CommandMap::flag_no_target | rpc::CommandMap::flag_public_xmlrpc, parm, doc);
|
||||
|
||||
#define CMD_N(key, slot) \
|
||||
CMD_N_SLOT(key, call_unknown, slot, "i:", "")
|
||||
|
||||
#define CMD_N_STRING(key, slot) \
|
||||
CMD_N_SLOT(key, call_string, slot, "i:", "")
|
||||
|
||||
#define CMD_N_LIST(key, slot) \
|
||||
CMD_N_SLOT(key, call_list, slot, "i:", "")
|
||||
#define CMD_N(key, slot) CMD_N_SLOT(key, call_unknown, slot, "i:", "")
|
||||
#define CMD_N_VOID(key, slot) CMD_N_SLOT(key, call_unknown, slot, "i:", "")
|
||||
#define CMD_N_VALUE(key, slot) CMD_N_SLOT(key, call_value, slot, "i:", "")
|
||||
#define CMD_N_STRING(key, slot) CMD_N_SLOT(key, call_string, slot, "i:", "")
|
||||
#define CMD_N_LIST(key, slot) CMD_N_SLOT(key, call_list, slot, "i:", "")
|
||||
|
||||
#define CMD_D_SLOT(key, function, slot, parm, doc) \
|
||||
commandDownloadSlotsItr->set_slot(slot); \
|
||||
|
||||
Reference in New Issue
Block a user