PS2SDK
PS2 Homebrew Libraries
freemtap.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2007 Lukasz Bruun <mail@lukasz.dk>
3  *
4  * See the file LICENSE included with this distribution for licensing terms.
5  */
6 
12 #ifndef _FREEMTAP_H_
13 #define _FREEMTAP_H_
14 
15 #define MODNAME "freemtap"
16 #define M_PRINTF(format, args...) printf(MODNAME ": " format, ## args)
17 
18 // rpcservers.c
19 extern s32 InitRpcServers();
20 
21 // freemtap.c
22 extern s32 mtapPortOpen(u32 port);
23 extern s32 mtapPortClose(u32 port);
24 extern s32 mtapGetConnection(u32 port);
25 extern s32 mtapGetSlotNumber(u32 port);
26 extern s32 mtapChangeSlot(u32 port, u32 slot);
27 
28 #endif
29 
30 
mtapGetConnection
int mtapGetConnection(int port)
Definition: libmtap.c:91
mtapPortOpen
int mtapPortOpen(int port)
Definition: libmtap.c:71
mtapPortClose
int mtapPortClose(int port)
Definition: libmtap.c:81