]> git.sur5r.net Git - u-boot/blobdiff - include/ext4fs.h
ext4: Prepare API change for files greater than 2GB
[u-boot] / include / ext4fs.h
index 38970e4817775ed3341a37271cf2c0f48c0b95f4..5c524a6d87c2173bf1d57dbda3e7409c6d3572ee 100644 (file)
@@ -125,12 +125,14 @@ int ext4fs_init(void);
 void ext4fs_deinit(void);
 int ext4fs_filename_check(char *filename);
 int ext4fs_write(const char *fname, unsigned char *buffer,
-                               unsigned long sizebytes);
+                unsigned long sizebytes);
+int ext4_write_file(const char *filename, void *buf, loff_t offset, loff_t len,
+                   loff_t *actwrite);
 #endif
 
 struct ext_filesystem *get_fs(void);
-int ext4fs_open(const char *filename);
-int ext4fs_read(char *buf, unsigned len);
+int ext4fs_open(const char *filename, loff_t *len);
+int ext4fs_read(char *buf, loff_t len, loff_t *actread);
 int ext4fs_mount(unsigned part_length);
 void ext4fs_close(void);
 void ext4fs_reinit_global(void);