PS2SDK
PS2 Homebrew Libraries
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#ifndef __SLIB_H__
17#define __SLIB_H__
18
19#include <tamtypes.h>
20
22typedef struct _slib_imp_list {
23 u8 magic;
24 struct _slib_imp_list *next;
25 u16 version;
26 u16 flags;
27 u8 name[8];
28 void *imports[];
30
32typedef struct _slib_exp_lib {
33 struct _slib_exp_lib *prev;
34 struct _slib_imp_list *caller;
35 u16 version;
36 u16 flags;
37 u8 name[8];
38 void *exports[];
40
45typedef struct _slib_exp_lib_list {
46 struct _slib_exp_lib *tail;
47 struct _slib_exp_lib *head;
49
50#ifdef __cplusplus
51extern "C" {
52#endif
53
61
63int slib_get_exp_lib(const char *name, slib_exp_lib_t *library);
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* __SLIB_H__ */
unsigned int version
Definition fileXio.h:3
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