summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-27 01:32:30 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-10-27 01:32:30 +0200
commit00f893fe23a7cee4200a1192c7dded26f114e3d6 (patch)
treec3fbc0485bda7a11f07fa9cf08adf35d0727081c /common.h
parentMerge "Skip update-on-boot for bootreason in blacklist" (diff)
parentMerge "Some cleanups to recovery." (diff)
downloadandroid_bootable_recovery-00f893fe23a7cee4200a1192c7dded26f114e3d6.tar
android_bootable_recovery-00f893fe23a7cee4200a1192c7dded26f114e3d6.tar.gz
android_bootable_recovery-00f893fe23a7cee4200a1192c7dded26f114e3d6.tar.bz2
android_bootable_recovery-00f893fe23a7cee4200a1192c7dded26f114e3d6.tar.lz
android_bootable_recovery-00f893fe23a7cee4200a1192c7dded26f114e3d6.tar.xz
android_bootable_recovery-00f893fe23a7cee4200a1192c7dded26f114e3d6.tar.zst
android_bootable_recovery-00f893fe23a7cee4200a1192c7dded26f114e3d6.zip
Diffstat (limited to '')
-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);