RetroArch
Macros | Functions
fat.h File Reference
#include <libfatversion.h>
#include <stdint.h>
#include <disc_io.h>
Include dependency graph for fat.h:

Go to the source code of this file.

Macros

#define ATTR_ARCHIVE   0x20 /* Archive */
 
#define ATTR_DIRECTORY   0x10 /* Directory */
 
#define ATTR_VOLUME   0x08 /* Volume */
 
#define ATTR_SYSTEM   0x04 /* System */
 
#define ATTR_HIDDEN   0x02 /* Hidden */
 
#define ATTR_READONLY   0x01 /* Read only */
 
#define LIBFAT_FEOS_MULTICWD
 

Functions

bool fatInit (uint32_t cacheSize, bool setAsDefaultDevice)
 
bool fatInitDefault (void)
 
bool fatMountSimple (const char *name, const DISC_INTERFACE *interface)
 
bool fatMount (const char *name, const DISC_INTERFACE *interface, sec_t startSector, uint32_t cacheSize, uint32_t SectorsPerPage)
 
void fatUnmount (const char *name)
 
void fatGetVolumeLabel (const char *name, char *label)
 
int FAT_getAttr (const char *file)
 
int FAT_setAttr (const char *file, uint8_t attr)
 

Macro Definition Documentation

◆ ATTR_ARCHIVE

#define ATTR_ARCHIVE   0x20 /* Archive */

◆ ATTR_DIRECTORY

#define ATTR_DIRECTORY   0x10 /* Directory */

◆ ATTR_HIDDEN

#define ATTR_HIDDEN   0x02 /* Hidden */

◆ ATTR_READONLY

#define ATTR_READONLY   0x01 /* Read only */

◆ ATTR_SYSTEM

#define ATTR_SYSTEM   0x04 /* System */

◆ ATTR_VOLUME

#define ATTR_VOLUME   0x08 /* Volume */

◆ LIBFAT_FEOS_MULTICWD

#define LIBFAT_FEOS_MULTICWD

Function Documentation

◆ FAT_getAttr()

int FAT_getAttr ( const char *  file)

◆ FAT_setAttr()

int FAT_setAttr ( const char *  file,
uint8_t  attr 
)

◆ fatGetVolumeLabel()

void fatGetVolumeLabel ( const char *  name,
char *  label 
)

◆ fatInit()

bool fatInit ( uint32_t  cacheSize,
bool  setAsDefaultDevice 
)

◆ fatInitDefault()

bool fatInitDefault ( void  )
Here is the caller graph for this function:

◆ fatMount()

bool fatMount ( const char *  name,
const DISC_INTERFACE interface,
sec_t  startSector,
uint32_t  cacheSize,
uint32_t  SectorsPerPage 
)

◆ fatMountSimple()

bool fatMountSimple ( const char *  name,
const DISC_INTERFACE interface 
)
Here is the caller graph for this function:

◆ fatUnmount()

void fatUnmount ( const char *  name)
Here is the caller graph for this function: