From f540157d1b26cd9d2eeecdb9960be90660604b07 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 15 Nov 2011 10:13:45 +0000 Subject: [PATCH] expose tcp/uTP settings to python --- bindings/python/src/session_settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/python/src/session_settings.cpp b/bindings/python/src/session_settings.cpp index 1b116990a..5eea82cce 100644 --- a/bindings/python/src/session_settings.cpp +++ b/bindings/python/src/session_settings.cpp @@ -165,6 +165,10 @@ void bind_session_settings() .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) + .def_readwrite("enable_outgoing_tcp", &session_settings::enable_outgoing_tcp) + .def_readwrite("enable_incoming_tcp", &session_settings::enable_incoming_tcp) + .def_readwrite("enable_outgoing_utp", &session_settings::enable_outgoing_utp) + .def_readwrite("enable_incoming_utp", &session_settings::enable_incoming_utp) ; enum_("proxy_type")