summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-05-08 11:32:29 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-08 11:32:29 +0200
commitf2e89b6e6bd216395107b4766d6af7049c1c2f2e (patch)
tree6fb98bb202af7c584901231543a4fe9e3ce86d82 /common.h
parentSnap for 4764723 from 6cf0a98b93c30475bf41b7bd5b95db1b162a65ba to qt-release (diff)
parent[automerger skipped] Merge "recovery: Refactor logging code into logging.cpp" am: 5285c27bf4 am: 260d4ba55f -s ours (diff)
downloadandroid_bootable_recovery-f2e89b6e6bd216395107b4766d6af7049c1c2f2e.tar
android_bootable_recovery-f2e89b6e6bd216395107b4766d6af7049c1c2f2e.tar.gz
android_bootable_recovery-f2e89b6e6bd216395107b4766d6af7049c1c2f2e.tar.bz2
android_bootable_recovery-f2e89b6e6bd216395107b4766d6af7049c1c2f2e.tar.lz
android_bootable_recovery-f2e89b6e6bd216395107b4766d6af7049c1c2f2e.tar.xz
android_bootable_recovery-f2e89b6e6bd216395107b4766d6af7049c1c2f2e.tar.zst
android_bootable_recovery-f2e89b6e6bd216395107b4766d6af7049c1c2f2e.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/common.h b/common.h
index de536fdb4..3dc36a960 100644
--- a/common.h
+++ b/common.h
@@ -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();