Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
iosrestypes.h
Go to the documentation of this file.
1#ifndef _REVOLUTION_IOSRESTYPES_H_
2#define _REVOLUTION_IOSRESTYPES_H_
3
4#include <revolution/types.h>
5
6typedef u32 IOSUid;
7typedef u16 IOSGid;
9
10#define IOS_ERROR_OK 0
11#define IOS_ERROR_ACCESS -1
12#define IOS_ERROR_EXISTS -2
13#define IOS_ERROR_INTR -3
14#define IOS_ERROR_INVALID -4
15#define IOS_ERROR_MAX -5
16#define IOS_ERROR_NOEXISTS -6
17#define IOS_ERROR_QEMPTY -7
18#define IOS_ERROR_QFULL -8
19#define IOS_ERROR_UNKNOWN -9
20#define IOS_ERROR_NOTREADY -10
21#define IOS_ERROR_ECC -11
22#define IOS_ERROR_ECC_CRIT -12
23#define IOS_ERROR_BADBLOCK -13
24
25#define IOS_ERROR_INVALID_OBJTYPE -14
26#define IOS_ERROR_INVALID_RNG -15
27#define IOS_ERROR_INVALID_FLAG -16
28#define IOS_ERROR_INVALID_FORMAT -17
29#define IOS_ERROR_INVALID_VERSION -18
30#define IOS_ERROR_INVALID_SIGNER -19
31#define IOS_ERROR_FAIL_CHECKVALUE -20
32#define IOS_ERROR_FAIL_INTERNAL -21
33#define IOS_ERROR_FAIL_ALLOC -22
34#define IOS_ERROR_INVALID_SIZE -23
35
42
43typedef struct {
47
48typedef struct {
52
53typedef struct {
57
65
66typedef struct {
70
77
91
92#endif
unsigned long u32
Definition types.h:12
unsigned short int u16
Definition types.h:10
signed long s32
Definition types.h:11
unsigned char u8
Definition types.h:8
u32 IOSUid
Definition iosrestypes.h:6
u16 IOSGid
Definition iosrestypes.h:7
u32 IOSResourceHandle
Definition iosrestypes.h:8
Definition iosrestypes.h:66
u8 * base
Definition iosrestypes.h:67
u32 length
Definition iosrestypes.h:68
Definition iosrestypes.h:58
u32 inLen
Definition iosrestypes.h:61
u8 * outPtr
Definition iosrestypes.h:62
u32 outLen
Definition iosrestypes.h:63
u32 cmd
Definition iosrestypes.h:59
u8 * inPtr
Definition iosrestypes.h:60
Definition iosrestypes.h:71
u32 writeCount
Definition iosrestypes.h:74
u32 cmd
Definition iosrestypes.h:72
u32 readCount
Definition iosrestypes.h:73
IOSIoVector * vector
Definition iosrestypes.h:75
Definition iosrestypes.h:36
u8 * path
Definition iosrestypes.h:37
IOSGid gid
Definition iosrestypes.h:40
IOSUid uid
Definition iosrestypes.h:39
u32 flags
Definition iosrestypes.h:38
Definition iosrestypes.h:43
u32 outLen
Definition iosrestypes.h:45
u8 * outPtr
Definition iosrestypes.h:44
Definition iosrestypes.h:78
u32 cmd
Definition iosrestypes.h:79
IOSResourceIoctlv ioctlv
Definition iosrestypes.h:88
IOSResourceHandle handle
Definition iosrestypes.h:81
IOSResourceSeek seek
Definition iosrestypes.h:86
IOSResourceOpen open
Definition iosrestypes.h:83
IOSResourceIoctl ioctl
Definition iosrestypes.h:87
IOSResourceWrite write
Definition iosrestypes.h:85
IOSResourceRead read
Definition iosrestypes.h:84
s32 status
Definition iosrestypes.h:80
Definition iosrestypes.h:53
u32 whence
Definition iosrestypes.h:55
s32 offset
Definition iosrestypes.h:54
Definition iosrestypes.h:48
u32 inLen
Definition iosrestypes.h:50
u8 * inPtr
Definition iosrestypes.h:49