alpm_sys

Function 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.