Add get_ip_filter() to session
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user