diff options
author | Doug Zongker <dougz@android.com> | 2010-09-17 13:02:48 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2010-09-17 13:02:48 -0700 |
commit | d7d4208976125d114d0b8e44438e2417d5275098 (patch) | |
tree | 1f5915af5ad0420295138e6d55dc95c094127d15 /roots.h | |
parent | 792b00712bb1411d3b0583bcea95b43b3107fb95 (diff) | |
download | bootable_recovery-d7d4208976125d114d0b8e44438e2417d5275098.zip bootable_recovery-d7d4208976125d114d0b8e44438e2417d5275098.tar.gz bootable_recovery-d7d4208976125d114d0b8e44438e2417d5275098.tar.bz2 |
remove unneeded partition roots
Recovery itself no longer needs to access all these partitions;
manipulation of them is done by the updater binary. This is a small
first step towards removing roots entirely.
Change-Id: I3fbcada32079a37db4cc097861dfa91e0a08da30
Diffstat (limited to 'roots.h')
-rw-r--r-- | roots.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -24,14 +24,6 @@ * components, like "SYSTEM:a/b/c". */ -/* Associate this package with the package root "PKG:". - */ -int register_package_root(const ZipArchive *package, const char *package_path); - -/* Returns non-zero iff root_path points inside a package. - */ -int is_package_root_path(const char *root_path); - /* Takes a string like "SYSTEM:lib" and turns it into a string * like "/system/lib". The translated path is put in out_buf, * and out_buf is returned if the translation succeeded. @@ -39,12 +31,6 @@ int is_package_root_path(const char *root_path); const char *translate_root_path(const char *root_path, char *out_buf, size_t out_buf_len); -/* Takes a string like "PKG:lib/libc.so" and returns a pointer to - * the containing zip file and a path like "lib/libc.so". - */ -const char *translate_package_root_path(const char *root_path, - char *out_buf, size_t out_buf_len, const ZipArchive **out_package); - /* Returns negative on error, positive if it's mounted, zero if it isn't. */ int is_root_path_mounted(const char *root_path); |