Function transmission_sys::tr_torrentAvailability
source · pub unsafe extern "C" fn tr_torrentAvailability(
torrent: *const tr_torrent,
tab: *mut i8,
size: c_int
)
Expand description
tr_torrentAvailability
Use this to draw an advanced progress bar which is ‘size’ pixels wide. Fills ‘tab’ which you must have allocated: each byte is set to either -1 if we have the piece, otherwise it is set to the number of connected peers who have the piece.