2010-02-22 22:29:47 +01:00
|
|
|
#ifndef _WBFS_RW_H
|
|
|
|
#define _WBFS_RW_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-09-19 01:16:05 +02:00
|
|
|
extern "C"
|
|
|
|
{
|
2010-02-22 22:29:47 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "libwbfs/libwbfs.h"
|
|
|
|
|
2010-09-19 01:16:05 +02:00
|
|
|
extern u32 sector_size;
|
|
|
|
extern rw_sector_callback_t readCallback;
|
|
|
|
extern rw_sector_callback_t writeCallback;
|
2010-02-22 22:29:47 +01:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 __ReadDVD(void *fp, u32 lba, u32 len, void *iobuf);
|
|
|
|
s32 __ReadUSB(void *fp, u32 lba, u32 count, void *iobuf);
|
|
|
|
s32 __WriteUSB(void *fp, u32 lba, u32 count, void *iobuf);
|
|
|
|
s32 __ReadSDHC(void *fp, u32 lba, u32 count, void *iobuf);
|
|
|
|
s32 __WriteSDHC(void *fp, u32 lba, u32 count, void *iobuf);
|
2010-02-22 22:29:47 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif //_WBFS_RW_H
|