SecureDownloadCopyURLs

Function SecureDownloadCopyURLs 

Source
pub unsafe extern "C-unwind" fn SecureDownloadCopyURLs(
    download_ref: SecureDownloadRef,
    urls: *mut *const CFArray,
) -> i32
👎Deprecated: SecureDownload is not supported
Available on crate feature SecureDownload only.
Expand description

Return a list of URL’s from which the data can be downloaded. The first URL in the list is the preferred download location. The other URL’s are backup locations in case earlier locations in the list could not be accessed.

Parameter downloadRef: A SecureDownloadRef instance.

Parameter urls: On return, the list of URL’s to download. Format is a CFArray of CFURL’s.

Returns: A result code. See “Security Error Codes” (SecBase.h).

§Safety

  • download_ref must be a valid pointer.
  • urls must be a valid pointer.