summaryrefslogtreecommitdiffstats
path: root/mtdutils/mtdutils.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-30 06:33:57 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-30 06:33:57 +0200
commitf6c7af289c2990bd16d422ae689317a938f77fdc (patch)
treee2c357667b0e76e6fa5a43c7a7951c872c373e9c /mtdutils/mtdutils.h
parentam f7466f9f: Stop using adb_strtok, and check argument validity. (diff)
parentam 34c7731a: Merge "Check all lseek calls succeed." (diff)
downloadandroid_bootable_recovery-f6c7af289c2990bd16d422ae689317a938f77fdc.tar
android_bootable_recovery-f6c7af289c2990bd16d422ae689317a938f77fdc.tar.gz
android_bootable_recovery-f6c7af289c2990bd16d422ae689317a938f77fdc.tar.bz2
android_bootable_recovery-f6c7af289c2990bd16d422ae689317a938f77fdc.tar.lz
android_bootable_recovery-f6c7af289c2990bd16d422ae689317a938f77fdc.tar.xz
android_bootable_recovery-f6c7af289c2990bd16d422ae689317a938f77fdc.tar.zst
android_bootable_recovery-f6c7af289c2990bd16d422ae689317a938f77fdc.zip
Diffstat (limited to 'mtdutils/mtdutils.h')
-rw-r--r--mtdutils/mtdutils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/mtdutils/mtdutils.h b/mtdutils/mtdutils.h
index 2708c4318..8059d6a4d 100644
--- a/mtdutils/mtdutils.h
+++ b/mtdutils/mtdutils.h
@@ -49,12 +49,10 @@ 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);
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 *);
#ifdef __cplusplus