usbloadergx/source/fatmounter.h

39 lines
756 B
C
Raw Normal View History

#ifndef _FATMOUNTER_H_
#define _FATMOUNTER_H_
#ifdef __cplusplus
extern "C"
{
#endif
2010-09-24 02:48:03 +02:00
extern int fat_sd_mount;
extern sec_t fat_sd_sec;
2010-09-24 02:48:03 +02:00
extern int fat_usb_mount;
extern sec_t fat_usb_sec;
2010-09-24 02:48:03 +02:00
extern int fat_wbfs_mount;
extern sec_t fat_wbfs_sec;
int USBDevice_Init();
void USBDevice_deInit();
2010-09-24 02:48:03 +02:00
int WBFSDevice_Init(u32 sector);
void WBFSDevice_deInit();
2010-09-24 02:48:03 +02:00
int isInserted(const char *path);
int SDCard_Init();
void SDCard_deInit();
2010-09-24 02:48:03 +02:00
s32 MountNTFS(u32 sector);
s32 UnmountNTFS(void);
2010-09-24 02:48:03 +02:00
extern int fat_usb_mount;
extern sec_t fat_usb_sec;
2010-09-24 02:48:03 +02:00
extern int fat_wbfs_mount;
extern sec_t fat_wbfs_sec;
2010-09-24 02:48:03 +02:00
extern int fs_ntfs_mount;
extern sec_t fs_ntfs_sec;
#ifdef __cplusplus
}
#endif
#endif