[][src]Function alpm_sys_fork::alpm_pkg_checkmd5sum

pub unsafe extern "C" fn alpm_pkg_checkmd5sum(pkg: *mut alpm_pkg_t) -> c_int

Check the integrity (with md5) of a package from the sync cache. @param pkg package pointer @return 0 on success, -1 on error (pm_errno is set accordingly)