libctru  v1.6.0
3ds.h
Go to the documentation of this file.
1 /**
2  * @file 3ds.h
3  * @brief Central 3DS header. Includes all others.
4  */
5 #pragma once
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 //might be missing some
12 #include <3ds/types.h>
13 #include <3ds/result.h>
14 #include <3ds/ipc.h>
15 #include <3ds/svc.h>
16 #include <3ds/exheader.h>
17 #include <3ds/srv.h>
18 #include <3ds/errf.h>
19 #include <3ds/os.h>
20 #include <3ds/synchronization.h>
21 #include <3ds/thread.h>
22 #include <3ds/gfx.h>
23 #include <3ds/console.h>
24 #include <3ds/env.h>
25 #include <3ds/util/decompress.h>
26 #include <3ds/util/utf.h>
27 
28 #include <3ds/allocator/linear.h>
29 #include <3ds/allocator/mappable.h>
30 #include <3ds/allocator/vram.h>
31 
32 #include <3ds/services/ac.h>
33 #include <3ds/services/am.h>
34 #include <3ds/services/ampxi.h>
35 #include <3ds/services/apt.h>
36 #include <3ds/services/boss.h>
37 #include <3ds/services/cam.h>
38 #include <3ds/services/cfgnor.h>
39 #include <3ds/services/cfgu.h>
40 #include <3ds/services/csnd.h>
41 #include <3ds/services/dsp.h>
42 #include <3ds/services/fs.h>
43 #include <3ds/services/fsreg.h>
44 #include <3ds/services/frd.h>
45 #include <3ds/services/gspgpu.h>
46 #include <3ds/services/gsplcd.h>
47 #include <3ds/services/hid.h>
48 #include <3ds/services/irrst.h>
49 #include <3ds/services/sslc.h>
50 #include <3ds/services/httpc.h>
51 #include <3ds/services/uds.h>
52 #include <3ds/services/ndm.h>
53 #include <3ds/services/nim.h>
54 #include <3ds/services/nwmext.h>
55 #include <3ds/services/ir.h>
56 #include <3ds/services/ns.h>
57 #include <3ds/services/pmapp.h>
58 #include <3ds/services/pmdbg.h>
59 #include <3ds/services/ps.h>
60 #include <3ds/services/ptmu.h>
61 #include <3ds/services/ptmsysm.h>
62 #include <3ds/services/pxidev.h>
63 #include <3ds/services/pxipm.h>
64 #include <3ds/services/soc.h>
65 #include <3ds/services/mic.h>
66 #include <3ds/services/mvd.h>
67 #include <3ds/services/nfc.h>
68 #include <3ds/services/news.h>
69 #include <3ds/services/qtm.h>
70 #include <3ds/services/srvpm.h>
71 #include <3ds/services/loader.h>
72 #include <3ds/services/y2r.h>
73 #include <3ds/services/mcuhwc.h>
74 #include <3ds/services/hb.h>
75 
76 #include <3ds/gpu/gx.h>
77 #include <3ds/gpu/gpu.h>
78 #include <3ds/gpu/shbin.h>
79 #include <3ds/gpu/shaderProgram.h>
80 
81 #include <3ds/ndsp/ndsp.h>
82 #include <3ds/ndsp/channel.h>
83 
84 #include <3ds/applets/swkbd.h>
85 #include <3ds/applets/error.h>
86 
88 
89 #include <3ds/sdmc.h>
90 #include <3ds/romfs.h>
91 #include <3ds/font.h>
92 #include <3ds/mii.h>
93 
94 #include <3ds/gdbhio_dev.h>
95 
96 #ifdef __cplusplus
97 }
98 #endif
99 /**
100  * @example app_launch/source/main.c
101  * @example audio/filters/source/main.c
102  * @example audio/mic/source/main.c
103  * @example audio/streaming/source/main.c
104  * @example camera/image/source/main.c
105  * @example camera/video/source/main.c
106  * @example get_system_language/source/main.c
107  * @example graphics/bitmap/24bit-color/source/main.c
108  * @example graphics/gpu/both_screens/source/main.c
109  * @example graphics/gpu/fragment_light/source/main.c
110  * @example graphics/gpu/geoshader/source/main.c
111  * @example graphics/gpu/gpusprites/source/main.c
112  * @example graphics/gpu/immediate/source/main.c
113  * @example graphics/gpu/lenny/source/main.c
114  * @example graphics/gpu/loop_subdivision/source/main.c
115  * @example graphics/gpu/mipmap_fog/source/main.c
116  * @example graphics/gpu/particles/source/main.c
117  * @example graphics/gpu/proctex/source/main.c
118  * @example graphics/gpu/simple_tri/source/main.c
119  * @example graphics/gpu/textured_cube/source/main.c
120  * @example graphics/gpu/toon_shading/source/main.c
121  * @example graphics/printing/both-screen-text/source/main.c
122  * @example graphics/printing/colored-text/source/main.c
123  * @example graphics/printing/hello-world/source/main.c
124  * @example graphics/printing/multiple-windows-text/source/main.c
125  * @example graphics/printing/system-font/source/main.c
126  * @example input/read-controls/source/main.c
127  * @example input/software-keyboard/source/main.c
128  * @example input/touch-screen/source/main.c
129  * @example libapplet_launch/source/main.c
130  * @example mvd/source/main.c
131  * @example network/boss/source/main.c
132  * @example network/http/source/main.c
133  * @example network/http_post/source/main.c
134  * @example network/sockets/source/sockets.c
135  * @example network/sslc/source/ssl.c
136  * @example network/uds/source/uds.c
137  * @example nfc/source/main.c
138  * @example qtm/source/main.c
139  * @example romfs/source/main.c
140  * @example sdmc/source/main.c
141  * @example threads/event/source/main.c
142  * @example threads/thread-basic/source/main.c
143  * @example time/rtc/source/main.c
144  */
145 
PM (Process Manager) debug service.
GSPLCD service.
Gamecard PXI service.
srv:pm service.
Functions for working with shaders.
Various system types.
PTMSYSM service.
Shader binary support.
BOSS service, see also: https://www.3dbrew.org/wiki/BOSS_Services.
MVD service.
PS service.
GSPGPU service.
HID service.
DSP Service to access the DSP processor commands (sound)
CFGNOR service.
Service API.
NFC service.
Filesystem Services.
NEWS (Notification) service.
IRRST service.
Homebrew environment information.
QTM service.
Friend Services.
Linear memory allocator.
Error applet.
Provides functions to use threads.
3DS result code tools
Decompression functions.
AM (Application Manager) service.
CSND service.
LCD Screens manipulation.
Software keyboard applet.
LOADER Service.
Functions for interacting with DSP audio channels.
Barebones GPU communications driver.
PM (Process Manager) application service.
UTF conversion functions.
RomFS driver.
Luma3DS GDB HIO (called File I/O in GDB documentation) devoptab wrapper.
NCCH extended header definitions.
HTTP service.
APT (Applet) service.
OS related stuff.
SDMC driver.
Process Manager PXI service.
Error Display API.
AC service.
Mii Selector Applet (appletEd).
NIM (network installation management) service.
MIC (Microphone) service.
CFGU (Configuration) Service.
UDS(NWMUDS) local-WLAN service.
SOC service for sockets communications.
NDMU service.
Shared Mii struct.
3ds stdio support.
Y2R service for hardware YUV->RGB conversions.
HB (Homebrew) service.
CAM service for using the 3DS's front and back cameras.
PTMU service.
AMPXI service.
Mappable memory allocator.
Inter Process Communication helpers.
GX commands.
Interface for Nintendo's default DSP component.
Provides synchronization locks.
mcuHwc service.
Syscall wrappers.
SSLC(TLS) service.
Shared font support.
NS (Nintendo Shell) service.
IR service.
VRAM allocator.