pub unsafe extern "C" fn tr_torrentSetAnnounceList(
    torrent: *mut tr_torrent,
    trackers: *const tr_tracker_info,
    trackerCount: c_int
) -> u8
Expand description

@brief Modify a torrent’s tracker list.

This updates both the `torrent’ object’s tracker list and the metainfo file in tr_sessionGetConfigDir ()’s torrent subdirectory.

@param torrent The torrent whose tracker list is to be modified @param trackers An array of trackers, sorted by tier from first to last. NOTE: only the tier' and announce’ fields are used. libtransmission derives scrape' from announce’ and reassigns ‘id’. @param trackerCount size of the `trackers’ array