new USB_GetHIDDescriptor()
[libogc.git] / gc / gccore.h
blobbe313ebbf94b2ed152af859c06e6e73a798b4729
1 /*-------------------------------------------------------------
3 gccore.h -- GC core header
5 Copyright (C) 2004
6 Michael Wiedenbauer (shagkur)
7 Dave Murphy (WinterMute)
9 This software is provided 'as-is', without any express or implied
10 warranty. In no event will the authors be held liable for any
11 damages arising from the use of this software.
13 Permission is granted to anyone to use this software for any
14 purpose, including commercial applications, and to alter it and
15 redistribute it freely, subject to the following restrictions:
17 1. The origin of this software must not be misrepresented; you
18 must not claim that you wrote the original software. If you use
19 this software in a product, an acknowledgment in the product
20 documentation would be appreciated but is not required.
22 2. Altered source versions must be plainly marked as such, and
23 must not be misrepresented as being the original software.
25 3. This notice may not be removed or altered from any source
26 distribution.
28 -------------------------------------------------------------*/
31 #ifndef __GCCORE_H__
32 #define __GCCORE_H__
34 /*! \file gccore.h
35 \brief Core header which includes all subsequent subsystem headers
39 #include "ogc/dsp.h"
40 #include "ogc/aram.h"
41 #include "ogc/arqueue.h"
42 #include "ogc/arqmgr.h"
43 #include "ogc/audio.h"
44 #include "ogc/cache.h"
45 #include "ogc/card.h"
46 #include "ogc/cast.h"
47 #include "ogc/color.h"
48 #include "ogc/consol.h"
49 #include "ogc/dvd.h"
50 #include "ogc/exi.h"
51 #include "ogc/gu.h"
52 #include "ogc/gx.h"
53 #include "ogc/si.h"
54 #include "ogc/gx_struct.h"
55 #include "ogc/irq.h"
56 #include "ogc/lwp.h"
57 #include "ogc/mutex.h"
58 #include "ogc/message.h"
59 #include "ogc/semaphore.h"
60 #include "ogc/pad.h"
61 #include "ogc/tpl.h"
62 #include "ogc/system.h"
63 #include "ogc/video.h"
64 #include "ogc/usbgecko.h"
65 #include "ogc/video_types.h"
66 #include "ogc/texconv.h"
68 #if defined(HW_RVL)
69 #include "ogc/ipc.h"
70 #include "ogc/es.h"
71 #include "ogc/stm.h"
72 #include "ogc/ios.h"
73 #include "ogc/usb.h"
74 #include "ogc/isfs.h"
75 #include "ogc/conf.h"
76 #include "ogc/usbstorage.h"
78 #include "ogc/wiilaunch.h"
80 #endif
83 * Error returns
85 #define RNC_FILE_IS_NOT_RNC -1
86 #define RNC_HUF_DECODE_ERROR -2
87 #define RNC_FILE_SIZE_MISMATCH -3
88 #define RNC_PACKED_CRC_ERROR -4
89 #define RNC_UNPACKED_CRC_ERROR -5
91 #ifndef ATTRIBUTE_ALIGN
92 # define ATTRIBUTE_ALIGN(v) __attribute__((aligned(v)))
93 #endif
94 #ifndef ATTRIBUTE_PACKED
95 # define ATTRIBUTE_PACKED __attribute__((packed))
96 #endif
98 #ifdef __cplusplus
99 extern "C" {
100 #endif /* __cplusplus */
104 * \mainpage
106 * - \subpage intro
107 * - \subpage api_doc
112 * \page intro Introduction
113 * Welcome to the libOGC reference documentation.
117 * \page api_doc Detailed API description
119 * - \ref aram.h "ARAM subsystem"
120 * - \ref audio.h "AUDIO subsystem"
121 * - \ref exi.h "EXI subsystem"
122 * - \ref irq.h "IRQ subsystem"
123 * - \ref dsp.h "DSP subsystem"
124 * - \ref dvd.h "DVD subsystem"
125 * - \ref gx.h "GX subsystem"
126 * - \ref video.h "VIDEO subsystem"
127 * - \ref cache.h "Cache subsystem"
128 * - \ref card.h "Memory card subsystem"
129 * - \ref consol.h "Console subsystem"
130 * - \ref system.h "OS functions and initialization"
131 * - \ref lwp.h "Thread subsystem I"
132 * - \ref message.h "Thread subsystem II"
133 * - \ref mutex.h "Thread subsystem III"
134 * - \ref semaphore.h "Thread subsystem IV"
135 * - \ref cond.h "Thread subsystem V"
138 s32 depackrnc1_ulen(void *packed);
139 s32 depackrnc1(void *packed,void *unpacked);
141 void depackrnc2(void *packed,void *unpacked);
143 #ifdef __cplusplus
145 #endif /* __cplusplus */
147 #endif