Function alpm_sys::alpm_pkg_mtree_next
source · pub unsafe extern "C" fn alpm_pkg_mtree_next(
pkg: *const alpm_pkg_t,
archive: *mut archive,
entry: *mut *mut archive_entry
) -> c_int
Expand description
Read next entry from a package mtree file. @param pkg the package that the mtree file is being read from @param archive the archive structure reading from the mtree file @param entry an archive_entry to store the entry header information @return 0 on success, 1 if end of archive is reached, -1 otherwise.