ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
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 {
24  struct _slib_imp_list *next;
27  u8 name[8];
28  void *imports[0];
30 
32 typedef struct _slib_exp_lib {
33  struct _slib_exp_lib *prev;
34  struct _slib_imp_list *caller;
37  u8 name[8];
38  void *exports[0];
40 
45 typedef struct _slib_exp_lib_list {
46  struct _slib_exp_lib *tail;
47  struct _slib_exp_lib *head;
49 
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53 
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__ */
slib_exp_lib_list_t * slib_exp_lib_list()
Definition: slib.c:31
int slib_get_exp_lib(const char *name, slib_exp_lib_t *library)
Definition: slib.c:101
struct _slib_exp_lib * head
Definition: slib.h:47
struct _slib_exp_lib * tail
Definition: slib.h:46
struct _slib_imp_list * caller
Definition: slib.h:34
u16 flags
Definition: slib.h:36
struct _slib_exp_lib * prev
Definition: slib.h:33
u16 version
Definition: slib.h:35
u16 version
Definition: slib.h:25
u16 flags
Definition: slib.h:26
struct _slib_imp_list * next
Definition: slib.h:24
unsigned short u16
Definition: tamtypes.h:24
unsigned char u8
Definition: tamtypes.h:23