2009-07-30 07:41:12 +02:00
|
|
|
#ifndef _USBSTORAGE_H_
|
2009-05-03 20:53:31 +02:00
|
|
|
#define _USBSTORAGE_H_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2009-07-30 07:41:12 +02:00
|
|
|
extern "C" {
|
2009-05-03 20:53:31 +02:00
|
|
|
#endif
|
2009-07-30 07:41:12 +02:00
|
|
|
/* Prototypes */
|
|
|
|
s32 USBStorage_GetCapacity(u32 *);
|
|
|
|
s32 USBStorage_Init(void);
|
|
|
|
void USBStorage_Deinit(void);
|
|
|
|
s32 USBStorage_Watchdog(u32 on_off);
|
|
|
|
s32 USBStorage_ReadSectors(u32, u32, void *);
|
|
|
|
s32 USBStorage_WriteSectors(u32, u32, const void *);
|
|
|
|
extern const DISC_INTERFACE __io_wiiums;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2009-05-03 20:53:31 +02:00
|
|
|
|
|
|
|
#endif
|