]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - LinuxGUI/Ventoy2Disk/Lib/fat_io_lib/fat_write.h
1.1.01
[Ventoy.git] / LinuxGUI / Ventoy2Disk / Lib / fat_io_lib / fat_write.h
1 #ifndef __FAT_WRITE_H__
2 #define __FAT_WRITE_H__
3
4 #include "fat_defs.h"
5 #include "fat_opts.h"
6
7 //-----------------------------------------------------------------------------
8 // Prototypes
9 //-----------------------------------------------------------------------------
10 int fatfs_add_file_entry(struct fatfs *fs, uint32 dirCluster, char *filename, char *shortfilename, uint32 startCluster, uint32 size, int dir);
11 int fatfs_add_free_space(struct fatfs *fs, uint32 *startCluster, uint32 clusters);
12 int fatfs_allocate_free_space(struct fatfs *fs, int newFile, uint32 *startCluster, uint32 size);
13
14 #endif