Function alpm_sys::alpm_option_set_disable_dl_timeout
source · pub unsafe extern "C" fn alpm_option_set_disable_dl_timeout(
handle: *mut alpm_handle_t,
disable_dl_timeout: c_ushort
) -> c_int
Expand description
Enables/disables the download timeout. @param handle the context handle @param disable_dl_timeout 0 for enabled, 1 for disabled @return 0 on success, -1 on error (pm_errno is set accordingly)