UbixOS V2
2.0
fat_write.h
Go to the documentation of this file.
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
fatfs_add_file_entry
int fatfs_add_file_entry(struct fatfs *fs, uint32 dirCluster, char *filename, char *shortfilename, uint32 startCluster, uint32 size, int dir)
Definition:
fat_write.c:266
fat_defs.h
fs
Definition:
fs.h:260
fat_opts.h
fatfs_allocate_free_space
int fatfs_allocate_free_space(struct fatfs *fs, int newFile, uint32 *startCluster, uint32 size)
Definition:
fat_write.c:82
fatfs_add_free_space
int fatfs_add_free_space(struct fatfs *fs, uint32 *startCluster, uint32 clusters)
Definition:
fat_write.c:45
uint32
unsigned long uint32
Definition:
fat_types.h:23
fatfs
Definition:
fat_access.h:57
C:
Dev
git
UbixOS
sys
fs
fat
fat_write.h
Generated by
1.8.16