added reset_piece_deadline function

This commit is contained in:
Arvid Norberg
2011-08-05 06:31:46 +00:00
parent d37e617f06
commit 109e527568
7 changed files with 21 additions and 2 deletions

View File

@@ -329,6 +329,7 @@ void bind_torrent_handle()
.def("read_piece", _(&torrent_handle::read_piece))
.def("set_piece_deadline", _(&torrent_handle::set_piece_deadline)
, (arg("index"), arg("deadline"), arg("flags") = 0))
.def("reset_piece_deadline", _(&torrent_handle::reset_piece_deadline), (arg("index"))
.def("piece_availability", &piece_availability)
.def("piece_priority", _(piece_priority0))
.def("piece_priority", _(piece_priority1))