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

@ -1,7 +1,7 @@
* fixed support for boost-1.44
* fixed reversed semantics of queue_up() and queue_down()
* added missing functions to python bindings (file_priority())
* added missing functions to python bindings (file_priority(), set_dht_settings())
* fixed low_prio_disk support on linux
* fixed time critical piece accounting in the request queue
* fixed semantics of rate_limit_utp to also ignore per-torrent limits

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

View File

@ -37,6 +37,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/config.hpp"
#include <cstring> // for memset and memcpy
#include <cstdlib> // for malloc, free and realloc
#include <boost/cstdint.hpp> // uint32_t
namespace libtorrent
{