2009-11-15 20:52:58 +01:00
|
|
|
#ifndef _WBFS_FAT_H
|
|
|
|
#define _WBFS_FAT_H
|
|
|
|
|
2009-12-19 15:05:31 +01:00
|
|
|
wbfs_t* WBFS_FAT_OpenPart(char *fname);
|
2009-11-15 20:52:58 +01:00
|
|
|
void WBFS_FAT_ClosePart(wbfs_t* part);
|
|
|
|
s32 WBFS_FAT_GetCount(u32 *count);
|
|
|
|
s32 WBFS_FAT_GetHeaders(void *outbuf, u32 cnt, u32 len);
|
|
|
|
wbfs_disc_t* WBFS_FAT_OpenDisc(u8 *discid);
|
|
|
|
void WBFS_FAT_CloseDisc(wbfs_disc_t* disc);
|
|
|
|
s32 WBFS_FAT_DiskSpace(f32 *used, f32 *free);
|
|
|
|
s32 WBFS_FAT_RemoveGame(u8 *discid);
|
|
|
|
s32 WBFS_FAT_AddGame(void);
|
|
|
|
s32 WBFS_FAT_DVD_Size(u64 *comp_size, u64 *real_size);
|
2009-12-19 15:05:31 +01:00
|
|
|
int WBFS_FAT_find_fname(u8 *id, char *fname, int len);
|
2010-01-04 15:11:02 +01:00
|
|
|
s32 WBFS_FAT_RenameGame(u8 *discid, const void *newname);
|
|
|
|
s32 WBFS_FAT_ReIDGame(u8 *discid, const void *newID);
|
|
|
|
s32 WBFS_FAT_EstimateGameSize(void);
|
2009-11-15 20:52:58 +01:00
|
|
|
|
|
|
|
#endif
|