From 4d950285d19f9b4c82dc7f6ffd037e767952d775 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 22 Jun 2011 01:16:53 +0000 Subject: [PATCH] expose bandwidth_mixed_algo constants to python --- bindings/python/src/session_settings.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bindings/python/src/session_settings.cpp b/bindings/python/src/session_settings.cpp index 3c0e0496d..f46ef899a 100644 --- a/bindings/python/src/session_settings.cpp +++ b/bindings/python/src/session_settings.cpp @@ -169,6 +169,11 @@ void bind_session_settings() .value("disable_os_cache", session_settings::disable_os_cache) ; + enum_("bandwidth_mixed_algo_t") + .value("prefer_tcp", session_settings::prefer_tcp) + .value("peer_proportional", session_settings::peer_proportional) + ; + class_("proxy_settings") .def_readwrite("hostname", &proxy_settings::hostname) .def_readwrite("port", &proxy_settings::port)