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

Go to the source code of this file.

Classes

struct  _slib_imp_list
struct  _slib_exp_lib
struct  _slib_exp_lib_list

Typedefs

typedef struct _slib_imp_list slib_imp_list_t
typedef struct _slib_exp_lib slib_exp_lib_t
typedef struct _slib_exp_lib_list slib_exp_lib_list_t

Functions

slib_exp_lib_list_t * slib_exp_lib_list ()
int slib_get_exp_lib (const char *name, slib_exp_lib_t *library)

Detailed Description

Sub-CPU library interface.

Definition in file slib.h.

Typedef Documentation

◆ slib_exp_lib_list_t

The LOADCORE library has a routine that returns a pointer to the following structure. It keeps track of all libraries added to the system with RegisterLibraryEntries().

◆ slib_exp_lib_t

typedef struct _slib_exp_lib slib_exp_lib_t

Describes an IRX export library.

◆ slib_imp_list_t

Describes an IRX import list.

Function Documentation

◆ slib_exp_lib_list()

slib_exp_lib_list_t * slib_exp_lib_list ( )
extern

Find the head and tail of the export library list.

Returns
NULL if the list couldn't be found, and the address of the head and tail pointers if it was located.

This routine will need to be called everytime the IOP is reset.

Definition at line 31 of file slib.c.

◆ slib_get_exp_lib()

int slib_get_exp_lib ( const char * name,
slib_exp_lib_t * library )
extern

Retrieve an export library by name.

Definition at line 103 of file slib.c.