Index: third_party/android_crazy_linker/src/include/crazy_linker.h |
diff --git a/third_party/android_crazy_linker/src/include/crazy_linker.h b/third_party/android_crazy_linker/src/include/crazy_linker.h |
index 04fc8cec487d1e8af018ecf448938230c15d8375..2fdf7fe7cf1e3f32f9950c9ae45eb360acdecbb7 100644 |
--- a/third_party/android_crazy_linker/src/include/crazy_linker.h |
+++ b/third_party/android_crazy_linker/src/include/crazy_linker.h |
@@ -215,6 +215,13 @@ crazy_status_t crazy_library_open(crazy_library_t** library, |
const char* lib_name, |
crazy_context_t* context) _CRAZY_PUBLIC; |
+// Return the pathname of the library in the zip_file: |
+// "lib/<abi>/crazy.<lib_name>". |
+// Result is returned in buffer[0..buffer_size - 1]. If buffer_size is too |
+// small CRAZY_STATUS_FAILURE is returned. |
+crazy_status_t crazy_library_filename_in_zip_file( |
+ const char* lib_name, char* buffer, size_t buffer_size); |
+ |
// Try to open or load a library with the crazy linker. The |
// library is in a zip file with the name |zipfile_name|. Within the zip |
// file the library must be uncompressed and page aligned. |zipfile_name| |