PS2SDK
PS2 Homebrew Libraries
xmtapman.h
Go to the documentation of this file.
1 
6 #ifndef __XMTAPMAN_H__
7 #define __XMTAPMAN_H__
8 
9 #include <types.h>
10 #include <irx.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 extern s32 mtapPortOpen(u32 port);
17 extern s32 mtapPortClose(u32 port);
18 extern s32 mtapGetSlotNumber(u32 port);
19 extern s32 mtapChangeSlot(u32 port, u32 slot);
20 
21 #define xmtapman_IMPORTS_start DECLARE_IMPORT_TABLE(mtapman, 1, 2)
22 #define xmtapman_IMPORTS_end END_IMPORT_TABLE
23 
24 #define I_mtapPortOpen DECLARE_IMPORT(4, mtapPortOpen)
25 #define I_mtapPortClose DECLARE_IMPORT(5, mtapPortClose)
26 #define I_mtapPortGetSlotNumber DECLARE_IMPORT(6, mtapGetSlotNumber)
27 #define I_mtapChangeSlot DECLARE_IMPORT(7, mtapChangeSlot)
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif /* __XMTAPMAN_H__ */
irx.h
mtapPortOpen
int mtapPortOpen(int port)
Definition: libmtap.c:71
mtapPortClose
int mtapPortClose(int port)
Definition: libmtap.c:81