| Index: third_party/android_crazy_linker/src/src/crazy_linker_zip.h
|
| diff --git a/third_party/android_crazy_linker/src/src/crazy_linker_zip.h b/third_party/android_crazy_linker/src/src/crazy_linker_zip.h
|
| index cee3efe770ae9797600b487d27ea186bdc27b8d3..b95edce24a27e3c80c244a1ae9ca5945a0dc6dc9 100644
|
| --- a/third_party/android_crazy_linker/src/src/crazy_linker_zip.h
|
| +++ b/third_party/android_crazy_linker/src/src/crazy_linker_zip.h
|
| @@ -9,6 +9,19 @@
|
|
|
| namespace crazy {
|
|
|
| +struct OffsetSize {
|
| + int offset;
|
| + int size;
|
| +
|
| + OffsetSize(int offset, int size) : offset(offset), size(size) {}
|
| +};
|
| +
|
| +
|
| +// Find "filename" in the specified "zip_file" and return its (offset, size).
|
| +// The offset is CRAZY_OFFSET_FAILED on error or if the file is compressed.
|
| +OffsetSize FindStartOffsetAndLengthOfFileInZipFile(const char* zip_file,
|
| + const char* filename);
|
| +
|
| // Find "filename" in the specified "zip_file" and return the offset
|
| // in the file of the start of the data for the file. Return
|
| // CRAZY_OFFSET_FAILED on error or if the file is compressed. This routine
|
|
|