PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
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
13extern "C" {
14#endif
15
16s32 mtapPortOpen(u32 port);
17s32 mtapPortClose(u32 port);
18s32 mtapGetSlotNumber(u32 port);
19s32 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__ */
int mtapPortClose(int port)
Definition libmtap.c:77
int mtapPortOpen(int port)
Definition libmtap.c:67