From 51c5190eb1b630c1066fbb555d894a26ae0dd95f Mon Sep 17 00:00:00 2001 From: rakshasa Date: Sat, 6 Aug 2016 05:24:43 +0900 Subject: [PATCH] Removed commands that were deprecated in version 0.7.0. --- src/main.cc | 393 ---------------------------------------------------- 1 file changed, 393 deletions(-) diff --git a/src/main.cc b/src/main.cc index 58d31a23..687e57c8 100644 --- a/src/main.cc +++ b/src/main.cc @@ -436,399 +436,6 @@ main(int argc, char** argv) { #if LT_SLIM_VERSION != 1 if (rpc::call_command_value("method.use_deprecated")) { - // Deprecated in 0.7.0: - - CMD2_REDIRECT_GENERIC("system.method.insert", "method.insert"); - CMD2_REDIRECT_GENERIC("system.method.erase", "method.erase"); - CMD2_REDIRECT_GENERIC("system.method.get", "method.get"); - CMD2_REDIRECT_GENERIC("system.method.set", "method.set"); - CMD2_REDIRECT_GENERIC("system.method.list_keys", "method.list_keys"); - CMD2_REDIRECT_GENERIC("system.method.has_key", "method.has_key"); - CMD2_REDIRECT_GENERIC("system.method.set_key", "method.set_key"); - - CMD2_REDIRECT ("get_directory", "directory.default"); - CMD2_REDIRECT_GENERIC("set_directory", "directory.default.set"); - - CMD2_REDIRECT ("get_session", "session.path"); - CMD2_REDIRECT_GENERIC("set_session", "session.path.set"); - - CMD2_REDIRECT ("session_save", "session.save"); - - CMD2_REDIRECT ("get_name", "session.name"); - CMD2_REDIRECT_GENERIC("set_name", "session.name.set"); - - CMD2_REDIRECT ("system.file_allocate", "system.file.allocate"); - CMD2_REDIRECT ("system.file_allocate.set", "system.file.allocate.set"); - CMD2_REDIRECT ("get_max_file_size", "system.file.max_size"); - CMD2_REDIRECT_GENERIC("set_max_file_size", "system.file.max_size.set"); - CMD2_REDIRECT ("get_split_file_size", "system.file.split_size"); - CMD2_REDIRECT_GENERIC("set_split_file_size", "system.file.split_size.set"); - CMD2_REDIRECT ("get_split_suffix", "system.file.split_suffix"); - CMD2_REDIRECT_GENERIC("set_split_suffix", "system.file.split_suffix.set"); - - CMD2_REDIRECT ("get_timeout_sync", "pieces.sync.timeout"); - CMD2_REDIRECT_GENERIC("set_timeout_sync", "pieces.sync.timeout.set"); - CMD2_REDIRECT ("get_timeout_safe_sync", "pieces.sync.timeout_safe"); - CMD2_REDIRECT_GENERIC("set_timeout_safe_sync", "pieces.sync.timeout_safe.set"); - - CMD2_REDIRECT_GENERIC("get_preload_type", "pieces.preload.type"); - CMD2_REDIRECT_GENERIC("get_preload_min_size", "pieces.preload.min_size"); - CMD2_REDIRECT_GENERIC("get_preload_required_rate", "pieces.preload.min_rate"); - CMD2_REDIRECT_GENERIC("set_preload_type", "pieces.preload.type.set"); - CMD2_REDIRECT_GENERIC("set_preload_min_size", "pieces.preload.min_size.set"); - CMD2_REDIRECT_GENERIC("set_preload_required_rate", "pieces.preload.min_rate.set"); - CMD2_REDIRECT_GENERIC("get_stats_preloaded", "pieces.stats_preloaded"); - CMD2_REDIRECT_GENERIC("get_stats_not_preloaded", "pieces.stats_not_preloaded"); - - CMD2_REDIRECT_GENERIC("get_safe_sync", "pieces.sync.always_safe"); - CMD2_REDIRECT_GENERIC("set_safe_sync", "pieces.sync.always_safe.set"); - - CMD2_REDIRECT ("get_memory_usage", "pieces.memory.current"); - CMD2_REDIRECT_GENERIC("get_max_memory_usage", "pieces.memory.max"); - CMD2_REDIRECT_GENERIC("set_max_memory_usage", "pieces.memory.max.set"); - - CMD2_REDIRECT_GENERIC("load", "load.normal"); - CMD2_REDIRECT_GENERIC("load_verbose", "load.verbose"); - CMD2_REDIRECT_GENERIC("load_start", "load.start"); - CMD2_REDIRECT_GENERIC("load_start_verbose", "load.start_verbose"); - - CMD2_REDIRECT_GENERIC("load_raw", "load.raw"); - CMD2_REDIRECT_GENERIC("load_raw_start", "load.raw_start"); - CMD2_REDIRECT_GENERIC("load_raw_verbose", "load.raw_verbose"); - - CMD2_REDIRECT_GENERIC("get_connection_leech", "protocol.connection.leech"); - CMD2_REDIRECT_GENERIC("get_connection_seed", "protocol.connection.seed"); - CMD2_REDIRECT_GENERIC("set_connection_leech", "protocol.connection.leech.set"); - CMD2_REDIRECT_GENERIC("set_connection_seed", "protocol.connection.seed.set"); - - // - // Throttle: - // - - CMD2_REDIRECT_GENERIC("throttle_up", "throttle.up"); - CMD2_REDIRECT_GENERIC("throttle_down", "throttle.down"); - CMD2_REDIRECT_GENERIC("throttle_ip", "throttle.ip"); - - CMD2_REDIRECT_GENERIC("get_throttle_up_max", "throttle.up.max"); - CMD2_REDIRECT_GENERIC("get_throttle_up_rate", "throttle.up.rate"); - CMD2_REDIRECT_GENERIC("get_throttle_down_max", "throttle.down.max"); - CMD2_REDIRECT_GENERIC("get_throttle_down_rate", "throttle.down.rate"); - - CMD2_REDIRECT_GENERIC("set_min_peers", "throttle.min_peers.normal.set"); - CMD2_REDIRECT_GENERIC("set_max_peers", "throttle.max_peers.normal.set"); - CMD2_REDIRECT_GENERIC("set_min_peers_seed", "throttle.min_peers.seed.set"); - CMD2_REDIRECT_GENERIC("set_max_peers_seed", "throttle.max_peers.seed.set"); - - CMD2_REDIRECT_GENERIC("set_max_uploads", "throttle.max_uploads.set"); - - CMD2_REDIRECT_GENERIC("set_max_uploads_div", "throttle.max_uploads.div.set"); - CMD2_REDIRECT_GENERIC("set_max_uploads_global", "throttle.max_uploads.global.set"); - CMD2_REDIRECT_GENERIC("set_max_downloads_div", "throttle.max_downloads.div.set"); - CMD2_REDIRECT_GENERIC("set_max_downloads_global", "throttle.max_downloads.global.set"); - - CMD2_REDIRECT ("get_min_peers", "throttle.min_peers.normal"); - CMD2_REDIRECT ("get_max_peers", "throttle.max_peers.normal"); - CMD2_REDIRECT ("get_min_peers_seed", "throttle.min_peers.seed"); - CMD2_REDIRECT ("get_max_peers_seed", "throttle.max_peers.seed"); - - CMD2_REDIRECT ("get_max_uploads", "throttle.max_uploads"); - - CMD2_REDIRECT ("get_max_uploads_div", "throttle.max_uploads.div"); - CMD2_REDIRECT ("get_max_uploads_global", "throttle.max_uploads.global"); - CMD2_REDIRECT ("get_max_downloads_div", "throttle.max_downloads.div"); - CMD2_REDIRECT ("get_max_downloads_global", "throttle.max_downloads.global"); - - CMD2_REDIRECT ("get_up_rate", "throttle.global_up.rate"); - CMD2_REDIRECT ("get_up_total", "throttle.global_up.total"); - CMD2_REDIRECT ("get_upload_rate", "throttle.global_up.max_rate"); - CMD2_REDIRECT_GENERIC("set_upload_rate", "throttle.global_up.max_rate.set"); - CMD2_REDIRECT ("get_down_rate", "throttle.global_down.rate"); - CMD2_REDIRECT ("get_down_total", "throttle.global_down.total"); - CMD2_REDIRECT ("get_download_rate", "throttle.global_down.max_rate"); - CMD2_REDIRECT_GENERIC("set_download_rate", "throttle.global_down.max_rate.set"); - - // - // Network: - // - - CMD2_REDIRECT ("get_send_buffer_size", "network.send_buffer.size"); - CMD2_REDIRECT_GENERIC("set_send_buffer_size", "network.send_buffer.size.set"); - CMD2_REDIRECT ("get_receive_buffer_size", "network.receive_buffer.size"); - CMD2_REDIRECT_GENERIC("set_receive_buffer_size", "network.receive_buffer.size.set"); - - CMD2_REDIRECT_GENERIC("set_bind", "network.bind_address.set"); - CMD2_REDIRECT ("get_bind", "network.bind_address"); - - CMD2_REDIRECT_GENERIC("set_ip", "network.local_address.set"); - CMD2_REDIRECT ("get_ip", "network.local_address"); - - CMD2_REDIRECT ("get_port_range", "network.port_range"); - CMD2_REDIRECT_GENERIC("set_port_range", "network.port_range.set"); - - CMD2_REDIRECT ("get_port_random", "network.port_random"); - CMD2_REDIRECT_GENERIC("set_port_random", "network.port_random.set"); - - CMD2_REDIRECT ("port_open", "network.port_open.set"); - CMD2_REDIRECT ("get_port_open", "network.port_open"); - CMD2_REDIRECT_GENERIC("set_port_open", "network.port_open.set"); - - CMD2_REDIRECT_GENERIC("set_proxy_address", "network.proxy_address.set"); - CMD2_REDIRECT ("get_proxy_address", "network.proxy_address"); - - CMD2_REDIRECT_GENERIC("set_scgi_dont_route", "network.scgi.dont_route.set"); - CMD2_REDIRECT ("get_scgi_dont_route", "network.scgi.dont_route"); - - CMD2_REDIRECT ("get_max_open_sockets", "network.max_open_sockets"); - - CMD2_REDIRECT ("get_max_open_files", "network.max_open_files"); - CMD2_REDIRECT_GENERIC("set_max_open_files", "network.max_open_files.set"); - - // - // XMLRPC stuff: - // - - CMD2_REDIRECT_GENERIC("xmlrpc_dialect", "network.xmlrpc.dialect.set"); - CMD2_REDIRECT_GENERIC("set_xmlrpc_dialect", "network.xmlrpc.dialect.set"); - - CMD2_REDIRECT_GENERIC("xmlrpc_size_limit", "network.xmlrpc.size_limit.set"); - CMD2_REDIRECT ("get_xmlrpc_size_limit", "network.xmlrpc.size_limit"); - CMD2_REDIRECT_GENERIC("set_xmlrpc_size_limit", "network.xmlrpc.size_limit.set"); - - // - // HTTP stuff: - // - - CMD2_REDIRECT_GENERIC("http_capath", "network.http.capath.set"); - CMD2_REDIRECT ("get_http_capath", "network.http.capath"); - CMD2_REDIRECT_GENERIC("set_http_capath", "network.http.capath.set"); - - CMD2_REDIRECT_GENERIC("http_cacert", "network.http.cacert.set"); - CMD2_REDIRECT ("get_http_cacert", "network.http.cacert"); - CMD2_REDIRECT_GENERIC("set_http_cacert", "network.http.cacert.set"); - - CMD2_REDIRECT ("get_max_open_http", "network.http.max_open"); - CMD2_REDIRECT_GENERIC("set_max_open_http", "network.http.max_open.set"); - - CMD2_REDIRECT_GENERIC("http_proxy", "network.http.proxy_address.set"); - CMD2_REDIRECT ("get_http_proxy", "network.http.proxy_address"); - CMD2_REDIRECT_GENERIC("set_http_proxy", "network.http.proxy_address.set"); - - CMD2_REDIRECT ("peer_exchange", "protocol.pex.set"); - CMD2_REDIRECT ("get_peer_exchange", "protocol.pex"); - CMD2_REDIRECT_GENERIC("set_peer_exchange", "protocol.pex.set"); - - // - // Trackers: - // - - CMD2_REDIRECT ("tracker_numwant", "trackers.numwant.set"); - CMD2_REDIRECT ("get_tracker_numwant", "trackers.numwant"); - CMD2_REDIRECT_GENERIC("set_tracker_numwant", "trackers.numwant.set"); - - CMD2_REDIRECT ("use_udp_trackers", "trackers.use_udp.set"); - CMD2_REDIRECT ("get_use_udp_trackers", "trackers.use_udp"); - CMD2_REDIRECT_GENERIC("set_use_udp_trackers", "trackers.use_udp.set"); - - // - // DHT stuff - // - - CMD2_REDIRECT ("dht_add_node", "dht.add_node"); - CMD2_REDIRECT ("dht_statistics", "dht.statistics"); - CMD2_REDIRECT ("get_dht_port", "dht.port"); - CMD2_REDIRECT_GENERIC("set_dht_port", "dht.port.set"); - CMD2_REDIRECT ("get_dht_throttle", "dht.throttle.name"); - CMD2_REDIRECT_GENERIC("set_dht_throttle", "dht.throttle.name.set"); - - // - // Various system stuff: - // - - CMD2_REDIRECT ("get_session_lock", "session.use_lock"); - CMD2_REDIRECT_GENERIC("set_session_lock", "session.use_lock.set"); - CMD2_REDIRECT ("get_session_on_completion", "session.on_completion"); - CMD2_REDIRECT_GENERIC("set_session_on_completion", "session.on_completion.set"); - - CMD2_REDIRECT ("get_check_hash", "pieces.hash.on_completion"); - CMD2_REDIRECT_GENERIC("set_check_hash", "pieces.hash.on_completion.set"); - - // - // Download: - // - - CMD2_REDIRECT ("d.get_hash", "d.hash"); - CMD2_REDIRECT ("d.get_local_id", "d.local_id"); - CMD2_REDIRECT ("d.get_local_id_html", "d.local_id_html"); - CMD2_REDIRECT ("d.get_bitfield", "d.bitfield"); - CMD2_REDIRECT ("d.get_base_path", "d.base_path"); - CMD2_REDIRECT ("d.get_base_filename", "d.base_filename"); - - CMD2_REDIRECT ("d.get_name", "d.name"); - CMD2_REDIRECT ("d.get_creation_date", "d.creation_date"); - - CMD2_REDIRECT ("d.get_peer_exchange", "d.peer_exchange"); - - CMD2_REDIRECT ("d.get_up_rate", "d.up.rate"); - CMD2_REDIRECT ("d.get_up_total", "d.up.total"); - CMD2_REDIRECT ("d.get_down_rate", "d.down.rate"); - CMD2_REDIRECT ("d.get_down_total", "d.down.total"); - CMD2_REDIRECT ("d.get_skip_rate", "d.skip.rate"); - CMD2_REDIRECT ("d.get_skip_total", "d.skip.total"); - - // - CMD2_REDIRECT ("d.get_bytes_done", "d.bytes_done"); - CMD2_REDIRECT ("d.get_chunk_size", "d.chunk_size"); - CMD2_REDIRECT ("d.get_chunks_hashed", "d.chunks_hashed"); - CMD2_REDIRECT ("d.get_complete", "d.complete"); - CMD2_REDIRECT ("d.get_completed_bytes", "d.completed_bytes"); - CMD2_REDIRECT ("d.get_completed_chunks", "d.completed_chunks"); - CMD2_REDIRECT ("d.get_connection_current", "d.connection_current"); - CMD2_REDIRECT ("d.get_connection_leech", "d.connection_leech"); - CMD2_REDIRECT ("d.get_connection_seed", "d.connection_seed"); - CMD2_REDIRECT ("d.get_custom", "d.custom"); - CMD2_REDIRECT ("d.get_custom1", "d.custom1"); - CMD2_REDIRECT ("d.get_custom2", "d.custom2"); - CMD2_REDIRECT ("d.get_custom3", "d.custom3"); - CMD2_REDIRECT ("d.get_custom4", "d.custom4"); - CMD2_REDIRECT ("d.get_custom5", "d.custom5"); - CMD2_REDIRECT ("d.get_custom_throw", "d.custom_throw"); - CMD2_REDIRECT ("d.get_directory", "d.directory"); - CMD2_REDIRECT ("d.get_directory_base", "d.directory_base"); - CMD2_REDIRECT ("d.get_free_diskspace", "d.free_diskspace"); - CMD2_REDIRECT ("d.get_hashing", "d.hashing"); - CMD2_REDIRECT ("d.get_hashing_failed", "d.hashing_failed"); - CMD2_REDIRECT ("d.get_ignore_commands", "d.ignore_commands"); - CMD2_REDIRECT ("d.get_left_bytes", "d.left_bytes"); - CMD2_REDIRECT ("d.get_loaded_file", "d.loaded_file"); - CMD2_REDIRECT ("d.get_max_file_size", "d.max_file_size"); - CMD2_REDIRECT ("d.get_max_size_pex", "d.max_size_pex"); - CMD2_REDIRECT ("d.get_message", "d.message"); - CMD2_REDIRECT ("d.get_mode", "d.mode"); - CMD2_REDIRECT ("d.get_peers_accounted", "d.peers_accounted"); - CMD2_REDIRECT ("d.get_peers_complete", "d.peers_complete"); - CMD2_REDIRECT ("d.get_peers_connected", "d.peers_connected"); - CMD2_REDIRECT ("d.get_peers_max", "d.peers_max"); - CMD2_REDIRECT ("d.get_peers_min", "d.peers_min"); - CMD2_REDIRECT ("d.get_peers_not_connected", "d.peers_not_connected"); - CMD2_REDIRECT ("d.get_priority", "d.priority"); - CMD2_REDIRECT ("d.get_priority_str", "d.priority_str"); - CMD2_REDIRECT ("d.get_ratio", "d.ratio"); - CMD2_REDIRECT ("d.get_size_bytes", "d.size_bytes"); - CMD2_REDIRECT ("d.get_size_chunks", "d.size_chunks"); - CMD2_REDIRECT ("d.get_size_files", "d.size_files"); - CMD2_REDIRECT ("d.get_size_pex", "d.size_pex"); - CMD2_REDIRECT ("d.get_state", "d.state"); - CMD2_REDIRECT ("d.get_state_changed", "d.state_changed"); - CMD2_REDIRECT ("d.get_state_counter", "d.state_counter"); - CMD2_REDIRECT ("d.get_throttle_name", "d.throttle_name"); - CMD2_REDIRECT ("d.get_tied_to_file", "d.tied_to_file"); - CMD2_REDIRECT ("d.get_tracker_focus", "d.tracker_focus"); - CMD2_REDIRECT ("d.get_tracker_numwant", "d.tracker_numwant"); - CMD2_REDIRECT ("d.get_tracker_size", "d.tracker_size"); - CMD2_REDIRECT ("d.get_uploads_max", "d.uploads_max"); - - CMD2_REDIRECT ("d.set_connection_current", "d.connection_current.set"); - CMD2_REDIRECT ("d.set_custom", "d.custom.set"); - CMD2_REDIRECT ("d.set_custom1", "d.custom1.set"); - CMD2_REDIRECT ("d.set_custom2", "d.custom2.set"); - CMD2_REDIRECT ("d.set_custom3", "d.custom3.set"); - CMD2_REDIRECT ("d.set_custom4", "d.custom4.set"); - CMD2_REDIRECT ("d.set_custom5", "d.custom5.set"); - CMD2_REDIRECT ("d.set_directory", "d.directory.set"); - CMD2_REDIRECT ("d.set_directory_base", "d.directory_base.set"); - CMD2_REDIRECT ("d.set_hashing_failed", "d.hashing_failed.set"); - CMD2_REDIRECT ("d.set_ignore_commands", "d.ignore_commands.set"); - CMD2_REDIRECT ("d.set_max_file_size", "d.max_file_size.set"); - CMD2_REDIRECT ("d.set_message", "d.message.set"); - CMD2_REDIRECT ("d.set_peers_max", "d.peers_max.set"); - CMD2_REDIRECT ("d.set_peers_min", "d.peers_min.set"); - CMD2_REDIRECT ("d.set_priority", "d.priority.set"); - CMD2_REDIRECT ("d.set_throttle_name", "d.throttle_name.set"); - CMD2_REDIRECT ("d.set_tied_to_file", "d.tied_to_file.set"); - CMD2_REDIRECT ("d.set_tracker_numwant", "d.tracker_numwant.set"); - CMD2_REDIRECT ("d.set_uploads_max", "d.uploads_max.set"); - - CMD2_REDIRECT ("create_link", "d.create_link"); - CMD2_REDIRECT ("delete_link", "d.delete_link"); - CMD2_REDIRECT ("delete_tied", "d.delete_tied"); - - // - // Tracker: - // - - CMD2_REDIRECT_TRACKER("t.get_group", "t.group"); - CMD2_REDIRECT_TRACKER("t.get_id", "t.id"); - CMD2_REDIRECT_TRACKER("t.get_min_interval", "t.min_interval"); - CMD2_REDIRECT_TRACKER("t.get_normal_interval", "t.normal_interval"); - CMD2_REDIRECT_TRACKER("t.get_scrape_complete", "t.scrape_complete"); - CMD2_REDIRECT_TRACKER("t.get_scrape_downloaded", "t.scrape_downloaded"); - CMD2_REDIRECT_TRACKER("t.get_scrape_incomplete", "t.scrape_incomplete"); - CMD2_REDIRECT_TRACKER("t.get_scrape_time_last", "t.scrape_time_last"); - CMD2_REDIRECT_TRACKER("t.get_type", "t.type"); - CMD2_REDIRECT_TRACKER("t.get_url", "t.url"); - CMD2_REDIRECT_TRACKER("t.set_enabled", "t.is_enabled.set"); - - // - // File: - // - - CMD2_REDIRECT_FILE ("f.get_completed_chunks", "f.completed_chunks"); - CMD2_REDIRECT_FILE ("f.get_frozen_path", "f.frozen_path"); - CMD2_REDIRECT_FILE ("f.get_last_touched", "f.last_touched"); - CMD2_REDIRECT_FILE ("f.get_match_depth_next", "f.match_depth_next"); - CMD2_REDIRECT_FILE ("f.get_match_depth_prev", "f.match_depth_prev"); - CMD2_REDIRECT_FILE ("f.get_offset", "f.offset"); - CMD2_REDIRECT_FILE ("f.get_path", "f.path"); - CMD2_REDIRECT_FILE ("f.get_path_components", "f.path_components"); - CMD2_REDIRECT_FILE ("f.get_path_depth", "f.path_depth"); - CMD2_REDIRECT_FILE ("f.get_priority", "f.priority"); - CMD2_REDIRECT_FILE ("f.get_range_first", "f.range_first"); - CMD2_REDIRECT_FILE ("f.get_range_second", "f.range_second"); - CMD2_REDIRECT_FILE ("f.get_size_bytes", "f.size_bytes"); - CMD2_REDIRECT_FILE ("f.get_size_chunks", "f.size_chunks"); - CMD2_REDIRECT_FILE ("f.set_priority", "f.priority.set"); - CMD2_REDIRECT_FILE ("fi.get_filename_last", "fi.filename_last"); - - // - // Peer: - // - - CMD2_REDIRECT ("p.get_address", "p.address"); - CMD2_REDIRECT ("p.get_client_version", "p.client_version"); - CMD2_REDIRECT ("p.get_completed_percent", "p.completed_percent"); - CMD2_REDIRECT ("p.get_down_rate", "p.down_rate"); - CMD2_REDIRECT ("p.get_down_total", "p.down_total"); - CMD2_REDIRECT ("p.get_id", "p.id"); - CMD2_REDIRECT ("p.get_id_html", "p.id_html"); - CMD2_REDIRECT ("p.get_options_str", "p.options_str"); - CMD2_REDIRECT ("p.get_peer_rate", "p.peer_rate"); - CMD2_REDIRECT ("p.get_peer_total", "p.peer_total"); - CMD2_REDIRECT ("p.get_port", "p.port"); - CMD2_REDIRECT ("p.get_up_rate", "p.up_rate"); - CMD2_REDIRECT ("p.get_up_total", "p.up_total"); - - // - // View: - // - - CMD2_REDIRECT_GENERIC("view_add", "view.add"); - CMD2_REDIRECT_GENERIC("view_filter", "view.filter"); - CMD2_REDIRECT_GENERIC("view_filter_on", "view.filter_on"); - CMD2_REDIRECT_GENERIC("view_list", "view.list"); - CMD2_REDIRECT_GENERIC("view_set", "view.set"); - CMD2_REDIRECT_GENERIC("view_sort", "view.sort"); - CMD2_REDIRECT_GENERIC("view_sort_current", "view.sort_current"); - CMD2_REDIRECT_GENERIC("view_sort_new", "view.sort_new"); - - // Rename these to avoid conflicts with old style. - CMD2_REDIRECT_GENERIC("d.multicall", "d.multicall2"); - - CMD2_REDIRECT_GENERIC("execute_throw", "execute.throw"); - CMD2_REDIRECT_GENERIC("execute_nothrow", "execute.nothrow"); - CMD2_REDIRECT_GENERIC("execute_raw", "execute.raw"); - CMD2_REDIRECT_GENERIC("execute_raw_nothrow", "execute.raw_nothrow"); - CMD2_REDIRECT_GENERIC("execute_capture", "execute.capture"); - CMD2_REDIRECT_GENERIC("execute_capture_nothrow", "execute.capture_nothrow"); } #endif