- fixed STOP_TRANS response token read.
[libogc.git] / gc / ogc / usbgecko.h
bloba74b995ffed98e1d61058a49f4bf6d4fbe9a97ac
1 #ifndef __USBGECKO_H___
2 #define __USBGECKO_H___
4 #include <gctypes.h>
6 #ifdef __cplusplus
7 extern "C" {
8 #endif /* __cplusplus */
10 void usb_flush(s32 chn);
11 int usb_isgeckoalive(s32 chn);
12 int usb_recvbuffer(s32 chn,void *buffer,int size);
13 int usb_sendbuffer(s32 chn,const void *buffer,int size);
14 int usb_recvbuffer_safe(s32 chn,void *buffer,int size);
15 int usb_sendbuffer_safe(s32 chn,const void *buffer,int size);
17 #ifdef __cplusplus
19 #endif /* __cplusplus */
21 #endif