add proxy_type_t to python binding
This commit is contained in:
parent
2d1ce777f5
commit
19a5d9f989
|
@ -248,6 +248,16 @@ void bind_session_settings()
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
enum_<settings_pack::proxy_type_t>("proxy_type_t")
|
||||||
|
.value("none", settings_pack::none)
|
||||||
|
.value("socks4", settings_pack::socks4)
|
||||||
|
.value("socks5", settings_pack::socks5)
|
||||||
|
.value("socks5_pw", settings_pack::socks5_pw)
|
||||||
|
.value("http", settings_pack::http)
|
||||||
|
.value("http_pw", settings_pack::http_pw)
|
||||||
|
.value("i2p_proxy", settings_pack::i2p_proxy)
|
||||||
|
;
|
||||||
|
|
||||||
#ifndef TORRENT_NO_DEPRECATE
|
#ifndef TORRENT_NO_DEPRECATE
|
||||||
enum_<proxy_settings::proxy_type>("proxy_type")
|
enum_<proxy_settings::proxy_type>("proxy_type")
|
||||||
.value("none", proxy_settings::none)
|
.value("none", proxy_settings::none)
|
||||||
|
|
Loading…
Reference in New Issue