add torrent priority to adjust bandwidth allocation of torrent's peers

This commit is contained in:
Arvid Norberg
2009-09-13 02:24:25 +00:00
parent ce9cf5657d
commit 35bca49c61
11 changed files with 66 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ void bind_torrent_status()
.def_readonly("seed_rank", &torrent_status::seed_rank)
.def_readonly("last_scrape", &torrent_status::last_scrape)
.def_readonly("error", &torrent_status::error)
.def_readonly("priority", &torrent_status::priority)
;
enum_<torrent_status::state_t>("states")