expose a bunch more functions through the old python settings interface
This commit is contained in:
parent
fdd2482536
commit
a93d8f5ba3
|
@ -134,12 +134,36 @@ void bind_session_settings()
|
||||||
.def_readwrite("report_web_seed_downloads", &session_settings::report_web_seed_downloads)
|
.def_readwrite("report_web_seed_downloads", &session_settings::report_web_seed_downloads)
|
||||||
.def_readwrite("share_mode_target", &session_settings::share_mode_target)
|
.def_readwrite("share_mode_target", &session_settings::share_mode_target)
|
||||||
.def_readwrite("rate_limit_utp", &session_settings::rate_limit_utp)
|
.def_readwrite("rate_limit_utp", &session_settings::rate_limit_utp)
|
||||||
|
.def_readwrite("upload_rate_limit", &session_settings::upload_rate_limit)
|
||||||
|
.def_readwrite("download_rate_limit", &session_settings::download_rate_limit)
|
||||||
|
.def_readwrite("local_upload_rate_limit", &session_settings::local_upload_rate_limit)
|
||||||
|
.def_readwrite("local_download_rate_limit", &session_settings::local_download_rate_limit)
|
||||||
|
.def_readwrite("dht_upload_rate_limit", &session_settings::dht_upload_rate_limit)
|
||||||
|
.def_readwrite("unchoke_slots_limit", &session_settings::unchoke_slots_limit)
|
||||||
|
.def_readwrite("half_open_limit", &session_settings::half_open_limit)
|
||||||
|
.def_readwrite("connections_limit", &session_settings::connections_limit)
|
||||||
|
.def_readwrite("utp_target_delay", &session_settings::utp_target_delay)
|
||||||
|
.def_readwrite("utp_gain_factor", &session_settings::utp_gain_factor)
|
||||||
|
.def_readwrite("utp_sun_resends", &session_settings::utp_syn_resends)
|
||||||
|
.def_readwrite("utp_fin_resends", &session_settings::utp_fin_resends)
|
||||||
|
.def_readwrite("utp_num_resends", &session_settings::utp_num_resends)
|
||||||
|
.def_readwrite("utp_connect_timeout", &session_settings::utp_connect_timeout)
|
||||||
|
.def_readwrite("utp_delayed_ack", &session_settings::utp_delayed_ack)
|
||||||
|
.def_readwrite("utp_dynamic_sock_buf", &session_settings::utp_dynamic_sock_buf)
|
||||||
|
.def_readwrite("mixed_mode_algorithm", &session_settings::mixed_mode_algorithm)
|
||||||
.def_readwrite("listen_queue_size", &session_settings::listen_queue_size)
|
.def_readwrite("listen_queue_size", &session_settings::listen_queue_size)
|
||||||
.def_readwrite("announce_double_nat", &session_settings::announce_double_nat)
|
.def_readwrite("announce_double_nat", &session_settings::announce_double_nat)
|
||||||
.def_readwrite("torrent_connect_boost", &session_settings::torrent_connect_boost)
|
.def_readwrite("torrent_connect_boost", &session_settings::torrent_connect_boost)
|
||||||
.def_readwrite("seeding_outgoing_connections", &session_settings::seeding_outgoing_connections)
|
.def_readwrite("seeding_outgoing_connections", &session_settings::seeding_outgoing_connections)
|
||||||
.def_readwrite("no_connect_privileged_ports", &session_settings::no_connect_privileged_ports)
|
.def_readwrite("no_connect_privileged_ports", &session_settings::no_connect_privileged_ports)
|
||||||
.def_readwrite("alert_queue_size", &session_settings::alert_queue_size)
|
.def_readwrite("alert_queue_size", &session_settings::alert_queue_size)
|
||||||
|
.def_readwrite("max_metadata_size", &session_settings::max_metadata_size)
|
||||||
|
.def_readwrite("smooth_connects", &session_settings::smooth_connects)
|
||||||
|
.def_readwrite("always_send_user_agent", &session_settings::always_send_user_agent)
|
||||||
|
.def_readwrite("apply_ip_filter_to_trakers", &session_settings::apply_ip_filter_to_trackers)
|
||||||
|
.def_readwrite("read_job_every", &session_settings::read_job_every)
|
||||||
|
.def_readwrite("use_disk_read_ahead", &session_settings::use_disk_read_ahead)
|
||||||
|
.def_readwrite("lock_files", &session_settings::lock_files)
|
||||||
;
|
;
|
||||||
|
|
||||||
enum_<proxy_settings::proxy_type>("proxy_type")
|
enum_<proxy_settings::proxy_type>("proxy_type")
|
||||||
|
|
Loading…
Reference in New Issue