add set_dht_settings to python bindings and fix include in bitfield.hpp
This commit is contained in:
@@ -526,6 +526,7 @@ void bind_session()
|
||||
"add_dht_router", &add_dht_router
|
||||
, (arg("router"), "port")
|
||||
)
|
||||
.def("set_dht_settings", allow_threads(&session::set_dht_settings))
|
||||
.def("start_dht", allow_threads(start_dht0))
|
||||
.def("stop_dht", allow_threads(&session::stop_dht))
|
||||
#ifndef TORRENT_NO_DEPRECATE
|
||||
|
Reference in New Issue
Block a user