2010-04-28 07:59:19 +02:00
|
|
|
/****************************************************************************
|
|
|
|
* WiiMC
|
|
|
|
* usb2storage.h -- USB mass storage support, inside starlet
|
|
|
|
* Copyright (C) 2008 Kwiirk
|
|
|
|
* Improved for homebrew by rodries and Tantric
|
|
|
|
*
|
|
|
|
* IOS 202 and the ehcimodule must be loaded before using this!
|
|
|
|
***************************************************************************/
|
2010-03-11 07:04:53 +01:00
|
|
|
|
|
|
|
#ifndef __USB2STORAGE_H__
|
|
|
|
#define __USB2STORAGE_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-04-28 07:59:19 +02:00
|
|
|
extern "C" {
|
2010-03-11 07:04:53 +01:00
|
|
|
#endif
|
|
|
|
|
2010-04-28 07:59:19 +02:00
|
|
|
void USB2Enable(bool e);
|
2010-07-06 08:39:31 +02:00
|
|
|
void USB2Storage_Close();
|
|
|
|
int GetUSB2LanPort();
|
|
|
|
void SetUSB2Mode(int mode);
|
|
|
|
//mode 0: port0 disabled & port1 disabled
|
|
|
|
//mode 1: port0 enabled & port1 disabled
|
|
|
|
//mode 2: port0 disabled & port1 enabled
|
|
|
|
//mode 3: port0 enabled & port1 enabled
|
2010-03-11 07:04:53 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-04-28 07:59:19 +02:00
|
|
|
}
|
2010-03-11 07:04:53 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|