summaryrefslogtreecommitdiffstats
path: root/mtdutils/mtdutils.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-01-13 20:24:42 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2010-01-13 20:24:42 +0100
commit4e9332cb0bb84df4c08bbb469e59a54eab2a9df0 (patch)
tree211ce66dd971d75f0b20a26b3571898330933815 /mtdutils/mtdutils.h
parentmerge from open-source master (diff)
parentmake offsets in firmware update header not point to bad blocks (diff)
downloadandroid_bootable_recovery-4e9332cb0bb84df4c08bbb469e59a54eab2a9df0.tar
android_bootable_recovery-4e9332cb0bb84df4c08bbb469e59a54eab2a9df0.tar.gz
android_bootable_recovery-4e9332cb0bb84df4c08bbb469e59a54eab2a9df0.tar.bz2
android_bootable_recovery-4e9332cb0bb84df4c08bbb469e59a54eab2a9df0.tar.lz
android_bootable_recovery-4e9332cb0bb84df4c08bbb469e59a54eab2a9df0.tar.xz
android_bootable_recovery-4e9332cb0bb84df4c08bbb469e59a54eab2a9df0.tar.zst
android_bootable_recovery-4e9332cb0bb84df4c08bbb469e59a54eab2a9df0.zip
Diffstat (limited to 'mtdutils/mtdutils.h')
-rw-r--r--mtdutils/mtdutils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mtdutils/mtdutils.h b/mtdutils/mtdutils.h
index 8d2cb56b1..528a5bbe8 100644
--- a/mtdutils/mtdutils.h
+++ b/mtdutils/mtdutils.h
@@ -49,6 +49,7 @@ void mtd_read_close(MtdReadContext *);
MtdWriteContext *mtd_write_partition(const MtdPartition *);
ssize_t mtd_write_data(MtdWriteContext *, const char *data, size_t data_len);
off_t mtd_erase_blocks(MtdWriteContext *, int blocks); /* 0 ok, -1 for all */
+off_t mtd_find_write_start(MtdWriteContext *ctx, off_t pos);
int mtd_write_close(MtdWriteContext *);
#endif // MTDUTILS_H_