[][src]Function transmission_sys::tr_torrentSetAnnounceList

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

@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' andannounce' fields are used. libtransmission derives scrape' fromannounce' and reassigns 'id'. @param trackerCount size of the `trackers' array