Add oatopt drop in replacement for dexopt
Change-Id: I094375230af2d9a88e30245b390cac71be7b50f4
diff --git a/src/zip_archive.h b/src/zip_archive.h
index 0c9e6c2..13a22cc 100644
--- a/src/zip_archive.h
+++ b/src/zip_archive.h
@@ -102,7 +102,10 @@
static const int32_t kCDECommentLen = 32; // offset to comment length
static const int32_t kCDELocalOffset = 42; // offset to local hdr
+ // return new ZipArchive instance on success, NULL on error.
static ZipArchive* Open(const std::string& filename);
+ static ZipArchive* Open(int fd);
+
ZipEntry* Find(const char * name);
~ZipArchive() {