summaryrefslogtreecommitdiffstats
path: root/mtdutils/mtdutils.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-01-13 01:18:33 +0100
committerDoug Zongker <dougz@android.com>2010-01-13 19:07:28 +0100
commit22d79a5c5eab9c1e86ff2af210bb072689e2d630 (patch)
tree866d289588e7c19e5218ce5aafbf9430bb274e99 /mtdutils/mtdutils.h
parentuse MEMGETBADBLOCK to look for bad blocks when reading MTD partitions (diff)
downloadandroid_bootable_recovery-22d79a5c5eab9c1e86ff2af210bb072689e2d630.tar
android_bootable_recovery-22d79a5c5eab9c1e86ff2af210bb072689e2d630.tar.gz
android_bootable_recovery-22d79a5c5eab9c1e86ff2af210bb072689e2d630.tar.bz2
android_bootable_recovery-22d79a5c5eab9c1e86ff2af210bb072689e2d630.tar.lz
android_bootable_recovery-22d79a5c5eab9c1e86ff2af210bb072689e2d630.tar.xz
android_bootable_recovery-22d79a5c5eab9c1e86ff2af210bb072689e2d630.tar.zst
android_bootable_recovery-22d79a5c5eab9c1e86ff2af210bb072689e2d630.zip
Diffstat (limited to '')
-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_