sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
libmtap.h File Reference

Go to the source code of this file.

Functions

int mtapInit (void)
int mtapPortOpen (int port)
int mtapPortClose (int port)
int mtapGetConnection (int port)

Detailed Description

Functions to provide access to multi-taps.

Definition in file libmtap.h.

Function Documentation

◆ mtapGetConnection()

int mtapGetConnection ( int port)
extern

Checks if a multitap is connected to an opened port.

Parameters
portis the port to be checked.
Returns
1 if a multitap exists on the specified port; !1 if there isno multitap on the specified port.

Definition at line 91 of file libmtap.c.

◆ mtapInit()

int mtapInit ( void )
extern

Initialise the multitap library.

Returns
1 on success; 1 on failure

Definition at line 34 of file libmtap.c.

◆ mtapPortClose()

int mtapPortClose ( int port)
extern

Closes a port for the multitap.

Parameters
portis a port that is to be closed (must have been previously opened by mtapPortOpen).
Returns
1 on success; !1 on failure.

Definition at line 81 of file libmtap.c.

◆ mtapPortOpen()

int mtapPortOpen ( int port)
extern

Open a port for the multitap.

Parameters
portspecifies the port that is to be monitored as a multitap connection destination.
Returns
1 on success; !1 on failure.

Definition at line 71 of file libmtap.c.