20#ifndef PED_FAT_TABLE_H_INCLUDED
21#define PED_FAT_TABLE_H_INCLUDED
enum _FatType FatType
Definition: fat.h:49
uint32_t FatCluster
Definition: fat.h:41
FatCluster bad_cluster_count
Definition: fat.h:65
FatCluster cluster_count
Definition: fat.h:63
void * table
Definition: fat.h:58
FatCluster size
Definition: fat.h:59
int raw_size
Definition: fat.h:60
FatCluster last_alloc
Definition: fat.h:67
FatCluster free_cluster_count
Definition: fat.h:64
FatType fat_type
Definition: fat.h:62
Structure describing file system.
Definition: filesys.h:68
void fat_table_clear(FatTable *ft)
Definition: table.c:78
int fat_table_set_eof(FatTable *ft, FatCluster cluster)
Definition: table.c:414
void fat_table_destroy(FatTable *ft)
Definition: table.c:53
int fat_table_set_cluster_count(FatTable *ft, FatCluster new_cluster_count)
Definition: table.c:91
int fat_table_is_bad(const FatTable *ft, FatCluster cluster)
Definition: table.c:367
int fat_table_is_eof(const FatTable *ft, FatCluster cluster)
Definition: table.c:376
int fat_table_set_avail(FatTable *ft, FatCluster cluster)
Definition: table.c:459
FatCluster fat_table_get(const FatTable *ft, FatCluster cluster)
Definition: table.c:296
int fat_table_is_available(const FatTable *ft, FatCluster cluster)
Definition: table.c:385
int fat_table_compare(const FatTable *a, const FatTable *b)
Definition: table.c:186
int fat_table_entry_size(FatType fat_type)
Definition: table.c:467
int fat_table_write_all(const FatTable *ft, PedFileSystem *fs)
Definition: table.c:172
FatCluster fat_table_alloc_cluster(FatTable *ft)
Definition: table.c:325
int fat_table_count_stats(FatTable *ft)
Definition: table.c:100
int fat_table_write(const FatTable *ft, PedFileSystem *fs, int table_num)
Definition: table.c:154
int fat_table_set(FatTable *ft, FatCluster cluster, FatCluster value)
Definition: table.c:264
int fat_table_read(FatTable *ft, const PedFileSystem *fs, int table_num)
Definition: table.c:119
FatTable * fat_table_duplicate(const FatTable *ft)
Definition: table.c:60
int fat_table_is_empty(const FatTable *ft, FatCluster cluster)
Definition: table.c:394
FatCluster fat_table_alloc_check_cluster(FatTable *ft, PedFileSystem *fs)
Definition: table.c:348
int fat_table_is_active(const FatTable *ft, FatCluster cluster)
Definition: table.c:404
FatTable * fat_table_new(FatType fat_type, FatCluster size)
Definition: table.c:27
int fat_table_set_bad(FatTable *ft, FatCluster cluster)
Definition: table.c:436