]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - vtoycli/fat_io_lib/release/fat_write.h
1 #ifndef __FAT_WRITE_H__
2 #define __FAT_WRITE_H__
7 //-----------------------------------------------------------------------------
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
);