rm whiles from LWP locks
[libogc.git] / libdb / debug_if.h
blobd739a7cde8219ae0deb0db6ef594f3c52d06d3a6
1 #ifndef __DEBUG_IF_H__
2 #define __DEBUG_IF_H__
4 #include <gctypes.h>
6 #define GDBSTUB_DEVICE_USB 0
7 #define GDBSTUB_DEVICE_TCP 1
9 struct dbginterface
11 s32 fhndl;
13 int (*open)(struct dbginterface *device);
14 int (*close)(struct dbginterface *device);
15 int (*wait)(struct dbginterface *device);
16 int (*read)(struct dbginterface *device,void *buffer,int size);
17 int (*write)(struct dbginterface *devicec,const void *buffer,int size);
20 #endif