From d7d4208976125d114d0b8e44438e2417d5275098 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Fri, 17 Sep 2010 13:02:48 -0700 Subject: 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 --- roots.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'roots.h') diff --git a/roots.h b/roots.h index bc847ea67..e85191d99 100644 --- a/roots.h +++ b/roots.h @@ -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); -- cgit v1.2.3