summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-27 01:47:02 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-10-27 01:47:02 +0200
commit5b4c017f985e19fd38cb998e7f3b51271b1da3ba (patch)
tree19d3d00372ae254d5a621e457ec2df719c59a74e /common.h
parentMerge "Skip update-on-boot for bootreason in blacklist" am: ebc141dff2 am: 750bb46305 am: 74851d8191 (diff)
parentMerge "Some cleanups to recovery." am: 46fb0a6a6f am: 00f893fe23 (diff)
downloadandroid_bootable_recovery-5b4c017f985e19fd38cb998e7f3b51271b1da3ba.tar
android_bootable_recovery-5b4c017f985e19fd38cb998e7f3b51271b1da3ba.tar.gz
android_bootable_recovery-5b4c017f985e19fd38cb998e7f3b51271b1da3ba.tar.bz2
android_bootable_recovery-5b4c017f985e19fd38cb998e7f3b51271b1da3ba.tar.lz
android_bootable_recovery-5b4c017f985e19fd38cb998e7f3b51271b1da3ba.tar.xz
android_bootable_recovery-5b4c017f985e19fd38cb998e7f3b51271b1da3ba.tar.zst
android_bootable_recovery-5b4c017f985e19fd38cb998e7f3b51271b1da3ba.zip
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common.h b/common.h
index a948fb1a0..f10fe6735 100644
--- a/common.h
+++ b/common.h
@@ -17,15 +17,16 @@
#ifndef RECOVERY_COMMON_H
#define RECOVERY_COMMON_H
-#include <stdbool.h>
#include <stdio.h>
#include <stdarg.h>
#define STRINGIFY(x) #x
#define EXPAND(x) STRINGIFY(x)
+class RecoveryUI;
+
+extern RecoveryUI* ui;
extern bool modified_flash;
-typedef struct fstab_rec Volume;
// fopen a file, mounting volumes and making parent dirs as necessary.
FILE* fopen_path(const char *path, const char *mode);