forked from premiere/premiere-libtorrent
add set_dht_settings to python bindings and fix include in bitfield.hpp
This commit is contained in:
parent
f2c89cd770
commit
d09e958166
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue