[][src]Function transmission_sys::tr_torrentSetLocation

pub unsafe extern "C" fn tr_torrentSetLocation(
    torrent: *mut tr_torrent,
    location: *const c_char,
    move_from_previous_location: bool,
    setme_progress: *mut f64,
    setme_state: *mut c_int
)

@brief Tell transmsision where to find this torrent's local data.

if move_from_previous_location is `true', the torrent's incompleteDir will be clobberred s.t. additional files being added will be saved to the torrent's downloadDir.