diff options
author | Jed Estep <jestep@google.com> | 2016-03-21 22:37:33 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-21 22:37:33 +0100 |
commit | 6f7876816b2322169432658235ebf7882ced0564 (patch) | |
tree | 596945143de9306b9e53163aef466cc8b5f429e5 /otafault/ota_io.h | |
parent | Merge "Fix: full ota package larger than 2GB fails to upgrade" (diff) | |
parent | Control fault injection with config files instead of build flags (diff) | |
download | android_bootable_recovery-6f7876816b2322169432658235ebf7882ced0564.tar android_bootable_recovery-6f7876816b2322169432658235ebf7882ced0564.tar.gz android_bootable_recovery-6f7876816b2322169432658235ebf7882ced0564.tar.bz2 android_bootable_recovery-6f7876816b2322169432658235ebf7882ced0564.tar.lz android_bootable_recovery-6f7876816b2322169432658235ebf7882ced0564.tar.xz android_bootable_recovery-6f7876816b2322169432658235ebf7882ced0564.tar.zst android_bootable_recovery-6f7876816b2322169432658235ebf7882ced0564.zip |
Diffstat (limited to '')
-rw-r--r-- | otafault/ota_io.h | 4 |
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); |