summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-10-27 01:26:03 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-10-27 01:26:04 +0200
commit46fb0a6a6f462ddfb9c19528979cf456ddd6a774 (patch)
tree2df23be127c0e92bf1e1be19dada2dd2e4182479 /common.h
parentMerge "Skip update-on-boot for bootreason in blacklist" (diff)
parentSome cleanups to recovery. (diff)
downloadandroid_bootable_recovery-46fb0a6a6f462ddfb9c19528979cf456ddd6a774.tar
android_bootable_recovery-46fb0a6a6f462ddfb9c19528979cf456ddd6a774.tar.gz
android_bootable_recovery-46fb0a6a6f462ddfb9c19528979cf456ddd6a774.tar.bz2
android_bootable_recovery-46fb0a6a6f462ddfb9c19528979cf456ddd6a774.tar.lz
android_bootable_recovery-46fb0a6a6f462ddfb9c19528979cf456ddd6a774.tar.xz
android_bootable_recovery-46fb0a6a6f462ddfb9c19528979cf456ddd6a774.tar.zst
android_bootable_recovery-46fb0a6a6f462ddfb9c19528979cf456ddd6a774.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);