customizemii/CustomizeMiiInstaller/source/fat.h
imruon@gmail.com b7770f8861 Splash Image changed, installer now working fine
git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@23 eddbe33b-e435-4246-ac25-f5eb65f9a13c
2010-01-10 18:38:07 +00:00

42 lines
616 B
C

#ifndef _FAT_H_
#define _FAT_H_
/* libfat header */
#include <fat.h>
#include <sys/dir.h>
/* SD headers */
#include <sdcard/gcsd.h>
#include <sdcard/wiisd_io.h>
/* 'FAT Device' structure */
typedef struct {
/* Device mount point */
char *mount;
/* Device name */
char *name;
/* Device interface */
const DISC_INTERFACE *interface;
} fatDevice;
/* 'FAT File' structure */
typedef struct {
/* Filename */
char filename[128];
/* Filestat */
struct stat filestat;
} fatFile;
/* Prototypes */
s32 Fat_Mount(fatDevice *);
void Fat_Unmount(fatDevice *);
char *Fat_ToFilename(const char *);
#endif