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