X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fext4fs.h;h=24293803966297480b268145840ad2a8f8a34b64;hb=919902dbaaecd5dbe786bf19231fb17e81bb80d6;hp=3b59d15aab43633238f7e34f26041b14713f9ece;hpb=03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc;p=karo-tx-uboot.git diff --git a/include/ext4fs.h b/include/ext4fs.h index 3b59d15aab..2429380396 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -135,7 +135,11 @@ int ext4fs_mount(unsigned part_length); void ext4fs_close(void); int ext4fs_ls(const char *dirname); 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