Function transmission_sys::tr_torrentSetMetadataCallback
source · pub unsafe extern "C" fn tr_torrentSetMetadataCallback(
tor: *mut tr_torrent,
func: tr_torrent_metadata_func,
user_data: *mut c_void
)
Expand description
Register to be notified whenever a torrent changes from having incomplete metadata to having complete metadata. This happens when a magnet link finishes downloading metadata from its peers.