]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/Lib/fat_io_lib/fat_table.h
Add /F option for VentoyPlugson.exe to use the system default browser.
[Ventoy.git] / LinuxGUI / Ventoy2Disk / Lib / fat_io_lib / fat_table.h
1 #ifndef __FAT_TABLE_H__
2 #define __FAT_TABLE_H__
3
4 #include "fat_opts.h"
5 #include "fat_misc.h"
6
7 //-----------------------------------------------------------------------------
8 // Prototypes
9 //-----------------------------------------------------------------------------
10 void fatfs_fat_init(struct fatfs *fs);
11 int fatfs_fat_purge(struct fatfs *fs);
12 uint32 fatfs_find_next_cluster(struct fatfs *fs, uint32 current_cluster);
13 void fatfs_set_fs_info_next_free_cluster(struct fatfs *fs, uint32 newValue);
14 int fatfs_find_blank_cluster(struct fatfs *fs, uint32 start_cluster, uint32 *free_cluster);
15 int fatfs_fat_set_cluster(struct fatfs *fs, uint32 cluster, uint32 next_cluster);
16 int fatfs_fat_add_cluster_to_chain(struct fatfs *fs, uint32 start_cluster, uint32 newEntry);
17 int fatfs_free_cluster_chain(struct fatfs *fs, uint32 start_cluster);
18 uint32 fatfs_count_free_clusters(struct fatfs *fs);
19
20 #endif