sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
ioplib.h File Reference
#include <loadcore.h>

Go to the source code of this file.

Typedefs

typedef int(*) ioplib_libiterate_cb_t(iop_library_t *lib, void *userdata)

Functions

int ioplib_iterateByName (const char *name, ioplib_libiterate_cb_t cb, void *userdata)
 Iterate for each library found by name.
unsigned int ioplib_getTableSize (iop_library_t *lib)
void * ioplib_hookSameExportEntries (iop_library_t *lib, unsigned int entry, void *func)
 Hook all IRX module exported functions that matches the specified entry.
void ioplib_relinkExports (iop_library_t *lib)

Typedef Documentation

◆ ioplib_libiterate_cb_t

typedef int(*) ioplib_libiterate_cb_t(iop_library_t *lib, void *userdata)

Definition at line 24 of file ioplib.h.

Function Documentation

◆ ioplib_getTableSize()

unsigned int ioplib_getTableSize ( iop_library_t * lib)
extern

Definition at line 49 of file ioplib.c.

◆ ioplib_hookSameExportEntries()

void * ioplib_hookSameExportEntries ( iop_library_t * lib,
unsigned int entry,
void * func )
extern

Hook all IRX module exported functions that matches the specified entry.

Parameters
libLibrary object of the module to hook
entryExport number to be hooked
funcHook function
Returns
on error: NULL | on success: original function pointer

Definition at line 67 of file ioplib.c.

◆ ioplib_iterateByName()

int ioplib_iterateByName ( const char * name,
ioplib_libiterate_cb_t cb,
void * userdata )
extern

Iterate for each library found by name.

Parameters
nameName of the module to search for
callbackCallback called when the library name matches
userdataUser data to pass to the callback
Returns
count of items found

Definition at line 17 of file ioplib.c.

◆ ioplib_relinkExports()

void ioplib_relinkExports ( iop_library_t * lib)
extern

Definition at line 88 of file ioplib.c.