add set_dht_settings to python bindings and fix include in bitfield.hpp

This commit is contained in:
Arvid Norberg
2012-05-28 17:54:20 +00:00
parent f2c89cd770
commit d09e958166
3 changed files with 3 additions and 1 deletions

View File

@@ -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