Function transmission_sys::tr_torrentWebSpeeds_KBps
source · pub unsafe extern "C" fn tr_torrentWebSpeeds_KBps(
torrent: *const tr_torrent
) -> *mut f64
Expand description
@brief get the download speeds for each of this torrent’s webseed sources.
@return an array of tor->info.webseedCount floats giving download speeds. Each speed in the array corresponds to the webseed at the same array index in tor->info.webseeds. To differentiate “idle” and “stalled” status, idle webseeds will return -1 instead of 0 KiB/s. NOTE: always free this array with tr_free () when you’re done with it.