X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fext4fs.h;h=6c419f3a233759c7e0998a1e5a25d7792a00bcfe;hb=cc45a610b6027b35444bad283f016491cee14bd2;hp=025a2e89c2342d2668e22ca389bb516d46fc0244;hpb=1acba3345c6f707195d8f1cbac834436445279b3;p=karo-tx-uboot.git diff --git a/include/ext4fs.h b/include/ext4fs.h index 025a2e89c2..6c419f3a23 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -133,12 +133,16 @@ int ext4fs_open(const char *filename); int ext4fs_read(char *buf, unsigned len); int ext4fs_mount(unsigned part_length); void ext4fs_close(void); +void ext4fs_reinit_global(void); int ext4fs_ls(const char *dirname); +int ext4fs_exists(const char *filename); +int ext4fs_size(const char *filename); void ext4fs_free_node(struct ext2fs_node *node, struct ext2fs_node *currroot); -int ext4fs_devread(int sector, int byte_offset, int byte_len, char *buf); +int ext4fs_devread(lbaint_t sector, int byte_offset, int byte_len, char *buf); void ext4fs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info); long int read_allocated_block(struct ext2_inode *inode, int fileblock); int ext4fs_probe(block_dev_desc_t *fs_dev_desc, disk_partition_t *fs_partition); int ext4_read_file(const char *filename, void *buf, int offset, int len); +int ext4_read_superblock(char *buffer); #endif