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 if end of archive is reached, non-zero otherwise.
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 if end of archive is reached, non-zero otherwise.