diff options
author | Doug Zongker <dougz@android.com> | 2010-02-01 23:40:12 +0100 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2010-02-01 23:40:12 +0100 |
commit | 6aece33b3f3af6a161e326af36bc894427fcf5ad (patch) | |
tree | b164457ed1f664a0d195f30933b70386687a0887 /minzip/Zip.h | |
parent | fix parsing of dumpkeys output (diff) | |
download | android_bootable_recovery-6aece33b3f3af6a161e326af36bc894427fcf5ad.tar android_bootable_recovery-6aece33b3f3af6a161e326af36bc894427fcf5ad.tar.gz android_bootable_recovery-6aece33b3f3af6a161e326af36bc894427fcf5ad.tar.bz2 android_bootable_recovery-6aece33b3f3af6a161e326af36bc894427fcf5ad.tar.lz android_bootable_recovery-6aece33b3f3af6a161e326af36bc894427fcf5ad.tar.xz android_bootable_recovery-6aece33b3f3af6a161e326af36bc894427fcf5ad.tar.zst android_bootable_recovery-6aece33b3f3af6a161e326af36bc894427fcf5ad.zip |
Diffstat (limited to 'minzip/Zip.h')
-rw-r--r-- | minzip/Zip.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/minzip/Zip.h b/minzip/Zip.h index 1c1df2fae..9f99fba5b 100644 --- a/minzip/Zip.h +++ b/minzip/Zip.h @@ -169,6 +169,13 @@ bool mzExtractZipEntryToFile(const ZipArchive *pArchive, const ZipEntry *pEntry, int fd); /* + * Inflate and write an entry to a memory buffer, which must be long + * enough to hold mzGetZipEntryUncomplen(pEntry) bytes. + */ +bool mzExtractZipEntryToBuffer(const ZipArchive *pArchive, + const ZipEntry *pEntry, unsigned char* buffer); + +/* * Inflate all entries under zipDir to the directory specified by * targetDir, which must exist and be a writable directory. * |