sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
slib.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright (c) 2003 Marcus R. Brown <mrbrown@0xd6.org>
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16
17#ifndef __SLIB_H__
18#define __SLIB_H__
19
20#include <tamtypes.h>
21
23typedef struct _slib_imp_list {
24 u8 magic;
25 struct _slib_imp_list *next;
26 u16 version;
27 u16 flags;
28 u8 name[8];
29 void *imports[];
31
33typedef struct _slib_exp_lib {
34 struct _slib_exp_lib *prev;
35 struct _slib_imp_list *caller;
36 u16 version;
37 u16 flags;
38 u8 name[8];
39 void *exports[];
41
46typedef struct _slib_exp_lib_list {
47 struct _slib_exp_lib *tail;
48 struct _slib_exp_lib *head;
50
51#ifdef __cplusplus
52extern "C" {
53#endif
54
62
64extern int slib_get_exp_lib(const char *name, slib_exp_lib_t *library);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* __SLIB_H__ */
slib_exp_lib_list_t * slib_exp_lib_list()
Definition slib.c:31
struct _slib_imp_list slib_imp_list_t
struct _slib_exp_lib_list slib_exp_lib_list_t
int slib_get_exp_lib(const char *name, slib_exp_lib_t *library)
Definition slib.c:103
struct _slib_exp_lib slib_exp_lib_t