[−][src]Function transmission_sys::tr_torrentSetRatioLimitHitCallback
pub unsafe extern "C" fn tr_torrentSetRatioLimitHitCallback(
torrent: *mut tr_torrent,
func: tr_torrent_ratio_limit_hit_func,
user_data: *mut c_void
)
Register to be notified whenever a torrent's ratio limit has been hit. This will be called when the torrent's ul/dl ratio has met or exceeded the designated ratio limit.
Has the same restrictions as tr_torrentSetCompletenessCallback