Marek Vasut | 894cf72 | 2025-03-17 04:12:46 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _EXFAT_H_ |
| 3 | #define _EXFAT_H_ |
| 4 | |
| 5 | struct disk_partition; |
| 6 | |
| 7 | int exfat_fs_opendir(const char *filename, struct fs_dir_stream **dirsp); |
| 8 | int exfat_fs_readdir(struct fs_dir_stream *dirs, struct fs_dirent **dentp); |
| 9 | int exfat_fs_ls(const char *dirname); |
| 10 | int exfat_fs_probe(struct blk_desc *fs_dev_desc, |
| 11 | struct disk_partition *fs_partition); |
| 12 | int exfat_fs_read(const char *filename, void *buf, loff_t offset, |
| 13 | loff_t len, loff_t *actread); |
| 14 | int exfat_fs_size(const char *filename, loff_t *size); |
| 15 | int exfat_fs_exists(const char *filename); |
| 16 | void exfat_fs_close(void); |
| 17 | void exfat_fs_closedir(struct fs_dir_stream *dirs); |
| 18 | |
| 19 | int exfat_fs_unlink(const char *filename); |
| 20 | int exfat_fs_mkdir(const char *dirname); |
| 21 | int exfat_fs_write(const char *filename, void *buf, loff_t offset, |
| 22 | loff_t len, loff_t *actwrite); |
| 23 | |
| 24 | #endif /* _EXFAT_H */ |