summaryrefslogtreecommitdiff
path: root/sal/android/lo-bootstrap.c
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-06-28 14:31:33 +0200
committerJan Holesovsky <kendy@collabora.com>2014-06-30 14:48:03 +0200
commit74ab9835f978ae872bd0b737a8d16eb2f63731a7 (patch)
tree2d86b988e8a92cd8a086e3827263d6a5a4fd53c9 /sal/android/lo-bootstrap.c
parenta6ecd8b2a9f0f3eaa66388861a6dcc6260ec72b9 (diff)
android: Introduce LibreOfficeKit.java to bootstrap using LibreOfficeKit.
Change-Id: I5e1758c15684b06ab6809f62f4da6d5f50c071a9
Diffstat (limited to 'sal/android/lo-bootstrap.c')
-rw-r--r--sal/android/lo-bootstrap.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c
index 49f9b3aa627c..973c1b25116a 100644
--- a/sal/android/lo-bootstrap.c
+++ b/sal/android/lo-bootstrap.c
@@ -28,7 +28,7 @@
#include "uthash.h"
-#include "osl/detail/android-bootstrap.h"
+#include <osl/detail/android-bootstrap.h>
#undef LOGI
@@ -142,7 +142,7 @@ cdir_entry_size(struct cdir_entry *entry)
letoh16(entry->file_comment_size);
}
-static int
+int
setup_cdir(void)
{
struct cdir_end *dirend = (struct cdir_end *)((char *) apk_file + apk_file_size - sizeof(*dirend));
@@ -221,7 +221,7 @@ handle_one_asset(struct cdir_entry *entry)
}
}
-static int
+int
setup_assets_tree(void)
{
int count = cdir_entries;
@@ -629,9 +629,6 @@ lo_apk_lstat(const char *path,
return -1;
}
-#define UNPACK_TREE "/assets/unpack"
-#define UNPACK_TREE_GZ "/assets/gz.unpack"
-
static int
mkdir_p(const char *dirname)
{
@@ -718,7 +715,7 @@ extract_gzipped(const char *filename,
return total;
}
-static void
+void
extract_files(const char *root,
const char *prefix,
int gzipped)