summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-14 00:17:04 +0200
committerTao Bao <tbao@google.com>2016-10-26 23:36:42 +0200
commitc0319b60f56d445c2d1c74f551e01f069b028fe6 (patch)
tree2df23be127c0e92bf1e1be19dada2dd2e4182479 /common.h
parentMerge "Skip update-on-boot for bootreason in blacklist" (diff)
downloadandroid_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.gz
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.bz2
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.lz
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.xz
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.tar.zst
android_bootable_recovery-c0319b60f56d445c2d1c74f551e01f069b028fe6.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);