From a4a80693d9687982461decdcf86920b3e76bb41a Mon Sep 17 00:00:00 2001 From: Yusuke Sato Date: Fri, 19 Jun 2015 17:04:15 -0700 Subject: Add |optional_suffix| to StartIteration() so that PackageManagerService can iterate over files with a specific file extension like ".so". Bug: 21957428 Change-Id: I76ed9560d4d1e00d297a97d518ec357166be1981 --- include/ziparchive/zip_archive.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ziparchive') diff --git a/include/ziparchive/zip_archive.h b/include/ziparchive/zip_archive.h index 386a390..3b00683 100644 --- a/include/ziparchive/zip_archive.h +++ b/include/ziparchive/zip_archive.h @@ -153,7 +153,9 @@ int32_t FindEntry(const ZipArchiveHandle handle, const ZipEntryName& entryName, * Returns 0 on success and negative values on failure. */ int32_t StartIteration(ZipArchiveHandle handle, void** cookie_ptr, - const ZipEntryName* optional_prefix); + const ZipEntryName* optional_prefix, + // TODO: Remove the default parameter. + const ZipEntryName* optional_suffix = NULL); /* * Advance to the next element in the zipfile in iteration order. -- cgit v1.1