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
22
typedef
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[];
29
}
slib_imp_list_t
;
30
32
typedef
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[];
39
}
slib_exp_lib_t
;
40
45
typedef
struct
_slib_exp_lib_list
{
46
struct
_slib_exp_lib
*tail;
47
struct
_slib_exp_lib
*head;
48
}
slib_exp_lib_list_t
;
49
50
#ifdef __cplusplus
51
extern
"C"
{
52
#endif
53
60
slib_exp_lib_list_t
*
slib_exp_lib_list
();
61
63
int
slib_get_exp_lib
(
const
char
*name,
slib_exp_lib_t
*library);
64
65
#ifdef __cplusplus
66
}
67
#endif
68
69
#endif
/* __SLIB_H__ */
version
unsigned int version
Definition
fileXio.h:3
slib_exp_lib_list
slib_exp_lib_list_t * slib_exp_lib_list()
Definition
slib.c:31
slib_imp_list_t
struct _slib_imp_list slib_imp_list_t
slib_exp_lib_list_t
struct _slib_exp_lib_list slib_exp_lib_list_t
slib_get_exp_lib
int slib_get_exp_lib(const char *name, slib_exp_lib_t *library)
Definition
slib.c:103
slib_exp_lib_t
struct _slib_exp_lib slib_exp_lib_t
_slib_exp_lib
Definition
slib.h:32
_slib_exp_lib_list
Definition
slib.h:45
_slib_imp_list
Definition
slib.h:22
tamtypes.h
ee
sbv
include
slib.h
Generated on Thu Nov 14 2024 05:25:25 for PS2SDK by
1.9.8