diff options
author | Tao Bao <tbao@google.com> | 2016-02-23 05:50:47 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-02-23 05:50:47 +0100 |
commit | ed796b046daf574b1f4f9ef386a870c845457277 (patch) | |
tree | 3ada024b937fa1de626ccec8591299ef0c337c38 /otafault/ota_io.h | |
parent | Merge "recovery: check battery level before installing package." (diff) | |
parent | Control fault injection with config files instead of build flags (diff) | |
download | android_bootable_recovery-ed796b046daf574b1f4f9ef386a870c845457277.tar android_bootable_recovery-ed796b046daf574b1f4f9ef386a870c845457277.tar.gz android_bootable_recovery-ed796b046daf574b1f4f9ef386a870c845457277.tar.bz2 android_bootable_recovery-ed796b046daf574b1f4f9ef386a870c845457277.tar.lz android_bootable_recovery-ed796b046daf574b1f4f9ef386a870c845457277.tar.xz android_bootable_recovery-ed796b046daf574b1f4f9ef386a870c845457277.tar.zst android_bootable_recovery-ed796b046daf574b1f4f9ef386a870c845457277.zip |
Diffstat (limited to 'otafault/ota_io.h')
-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); |