diff options
author | Jerry Zhang <zhangjerry@google.com> | 2018-05-03 01:56:00 +0200 |
---|---|---|
committer | Jerry Zhang <zhangjerry@google.com> | 2018-05-07 21:25:03 +0200 |
commit | cadf4ed45137fbb776584b4427694eb783183d7e (patch) | |
tree | 44898348b02504cd93a1c80911c3b0b11c0bd65d /common.h | |
parent | Merge changes I1cc5d702,I32ab9854 am: 420f7f8df4 (diff) | |
download | android_bootable_recovery-cadf4ed45137fbb776584b4427694eb783183d7e.tar android_bootable_recovery-cadf4ed45137fbb776584b4427694eb783183d7e.tar.gz android_bootable_recovery-cadf4ed45137fbb776584b4427694eb783183d7e.tar.bz2 android_bootable_recovery-cadf4ed45137fbb776584b4427694eb783183d7e.tar.lz android_bootable_recovery-cadf4ed45137fbb776584b4427694eb783183d7e.tar.xz android_bootable_recovery-cadf4ed45137fbb776584b4427694eb783183d7e.tar.zst android_bootable_recovery-cadf4ed45137fbb776584b4427694eb783183d7e.zip |
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -27,7 +27,9 @@ static constexpr int kRecoveryApiVersion = 3; class RecoveryUI; +struct selabel_handle; +extern struct selabel_handle* sehandle; extern RecoveryUI* ui; extern bool modified_flash; @@ -37,13 +39,6 @@ extern std::string stage; // The reason argument provided in "--reason=". extern const char* reason; -// fopen(3)'s the given file, by mounting volumes and making parent dirs as necessary. Returns the -// file pointer, or nullptr on error. -FILE* fopen_path(const std::string& path, const char* mode); - -// In turn fflush(3)'s, fsync(3)'s and fclose(3)'s the given stream. -void check_and_fclose(FILE* fp, const std::string& name); - void ui_print(const char* format, ...) __printflike(1, 2); bool is_ro_debuggable(); |