Add get_ip_filter() to session

This commit is contained in:
Andrew Resch
2009-07-21 01:52:37 +00:00
parent a3bacd736e
commit c401c65dfb
7 changed files with 27 additions and 1 deletions

View File

@@ -332,6 +332,7 @@ void bind_session()
.def("start_natpmp", &start_natpmp)
.def("stop_natpmp", allow_threads(&session::stop_natpmp))
.def("set_ip_filter", allow_threads(&session::set_ip_filter))
.def("get_ip_filter", allow_threads(&session::get_ip_filter), return_value_policy<copy_const_reference>())
.def("find_torrent", allow_threads(&session::find_torrent))
.def("get_torrents", &get_torrents)
.def("pause", allow_threads(&session::pause))