|
ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | mtapInit (void) |
| int | mtapPortOpen (int port) |
| int | mtapPortClose (int port) |
| int | mtapGetConnection (int port) |
Functions to provide access to multi-taps.
Definition in file libmtap.h.
| int mtapGetConnection | ( | int | port | ) |
Checks if a multitap is connected to an opened port.
| port | is the port to be checked. |
Definition at line 87 of file libmtap.c.
References clientGetConnection, mtapInited, mtapRpcBuffer, NULL, port, and SifCallRpc().
Referenced by find_controllers(), and pad_open().
| int mtapInit | ( | void | ) |
Initialise the multitap library.
Definition at line 34 of file libmtap.c.
References clientGetConnection, clientPortClose, clientPortOpen, mtapInited, MTAPSERV_GET_CONNECTION, MTAPSERV_PORT_CLOSE, MTAPSERV_PORT_OPEN, nopdelay(), and SifBindRpc().
Referenced by main().
| int mtapPortClose | ( | int | port | ) |
Closes a port for the multitap.
| port | is a port that is to be closed (must have been previously opened by mtapPortOpen). |
Definition at line 77 of file libmtap.c.
References clientPortClose, mtapInited, mtapRpcBuffer, NULL, port, and SifCallRpc().
| int mtapPortOpen | ( | int | port | ) |
Open a port for the multitap.
| port | specifies the port that is to be monitored as a multitap connection destination. |
Definition at line 67 of file libmtap.c.
References clientPortOpen, mtapInited, mtapRpcBuffer, NULL, port, and SifCallRpc().
Referenced by main().