summaryrefslogtreecommitdiffstats
path: root/otafault/ota_io.h
diff options
context:
space:
mode:
authorJed Estep <jestep@google.com>2015-12-16 01:04:53 +0100
committerJed Estep <jestep@google.com>2016-03-19 01:58:25 +0100
commitff6df890a2a01bf3bf56d3f430b17a5ef69055cf (patch)
treed639d516e51ec2df2f6e2e26b0643f982e6ae2b6 /otafault/ota_io.h
parentrecovery: Move SwipeDetector into common location (diff)
downloadandroid_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.gz
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.bz2
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.lz
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.xz
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.tar.zst
android_bootable_recovery-ff6df890a2a01bf3bf56d3f430b17a5ef69055cf.zip
Diffstat (limited to 'otafault/ota_io.h')
-rw-r--r--otafault/ota_io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/otafault/ota_io.h b/otafault/ota_io.h
index 641a5ae0a..84187a76e 100644
--- a/otafault/ota_io.h
+++ b/otafault/ota_io.h
@@ -26,6 +26,10 @@
#include <stdio.h>
#include <sys/stat.h>
+#define OTAIO_CACHE_FNAME "/cache/saved.file"
+
+void ota_set_fault_files();
+
int ota_open(const char* path, int oflags);
int ota_open(const char* path, int oflags, mode_t mode);