static const size_t nr_settings = sizeof settings / sizeof settings[0];
static libtorrent::alert_category_t alerts =
- libtorrent::alert_category::error
- | libtorrent::alert_category::piece_progress
- | libtorrent::alert_category::status
- | libtorrent::alert_category::storage
+ libtorrent::alert::error_notification
+ | libtorrent::alert::piece_progress_notification
+ | libtorrent::alert::status_notification
+ | libtorrent::alert::storage_notification
;
/* This condition is used to signal the plugin when a piece has been