summaryrefslogtreecommitdiffstats
path: root/mtdutils/mtdutils.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-14 23:25:48 +0200
committerDoug Zongker <dougz@android.com>2010-09-15 00:28:54 +0200
commitd12560aa2134d3af21a1220cd4873553f9c51743 (patch)
tree8cba0a1bae2a5152066817326122c3245f731ab9 /mtdutils/mtdutils.h
parentstop treating all-zero blocks as bad (diff)
downloadandroid_bootable_recovery-d12560aa2134d3af21a1220cd4873553f9c51743.tar
android_bootable_recovery-d12560aa2134d3af21a1220cd4873553f9c51743.tar.gz
android_bootable_recovery-d12560aa2134d3af21a1220cd4873553f9c51743.tar.bz2
android_bootable_recovery-d12560aa2134d3af21a1220cd4873553f9c51743.tar.lz
android_bootable_recovery-d12560aa2134d3af21a1220cd4873553f9c51743.tar.xz
android_bootable_recovery-d12560aa2134d3af21a1220cd4873553f9c51743.tar.zst
android_bootable_recovery-d12560aa2134d3af21a1220cd4873553f9c51743.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 528a5bbe8..45d3ebc91 100644
--- a/mtdutils/mtdutils.h
+++ b/mtdutils/mtdutils.h
@@ -45,6 +45,7 @@ typedef struct MtdWriteContext MtdWriteContext;
MtdReadContext *mtd_read_partition(const MtdPartition *);
ssize_t mtd_read_data(MtdReadContext *, char *data, size_t data_len);
void mtd_read_close(MtdReadContext *);
+void mtd_read_skip_to(const MtdReadContext *, size_t offset);
MtdWriteContext *mtd_write_partition(const MtdPartition *);
ssize_t mtd_write_data(MtdWriteContext *, const char *data, size_t data_len);