[][src]Function alpm_sys::alpm_sync_sysupgrade

pub unsafe extern "C" fn alpm_sync_sysupgrade(
    handle: *mut alpm_handle_t,
    enable_downgrade: c_int
) -> c_int

Search for packages to upgrade and add them to the transaction. @param handle the context handle @param enable_downgrade allow downgrading of packages if the remote version is lower @return 0 on success, -1 on error (pm_errno is set accordingly)