PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
smod.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 __SMOD_H__
17#define __SMOD_H__
18
19#include <tamtypes.h>
20
24typedef struct _smod_mod_info {
25 struct _smod_mod_info *next;
27 char *name;
28 u16 version;
31 u16 id;
32 u16 unused;
34 u32 entry;
35 u32 gp;
36 u32 text_start;
37 u32 text_size;
38 u32 data_size;
39 u32 bss_size;
40 u32 unused1;
41 u32 unused2;
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
50
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* __SMOD_H__ */
unsigned int version
Definition fileXio.h:3
struct _smod_mod_info smod_mod_info_t
u16 newflags
Definition smod.h:30
char * name
Definition smod.h:27
u32 entry
Definition smod.h:34
int smod_get_next_mod(smod_mod_info_t *cur_mod, smod_mod_info_t *next_mod)
Definition smod.c:30
int smod_get_mod_by_name(const char *name, smod_mod_info_t *info)
Definition smod.c:54