libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
nx.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 // core headers
13 #include<libtransistor/types.h>
20 #include<libtransistor/err.h>
21 #include<libtransistor/err/modules.h>
22 #include<libtransistor/svc.h>
23 #include<libtransistor/ipc.h>
25 #include<libtransistor/tls.h>
26 #include<libtransistor/util.h>
27 #include<libtransistor/mutex.h>
29 #include<libtransistor/thread.h>
30 
31 // filesystem
32 #include<libtransistor/fd.h>
33 #include<libtransistor/fs/fs.h>
39 
40 // services
41 #include<libtransistor/ipc/am.h>
46 #include<libtransistor/ipc/fs.h>
49 #include<libtransistor/ipc/nv.h>
50 #include<libtransistor/ipc/pm.h>
51 #include<libtransistor/ipc/ro.h>
52 #include<libtransistor/ipc/sm.h>
56 #include<libtransistor/ipc/vi.h>
57 
58 // high-level
65 #include<libtransistor/hid.h>
66 #include<libtransistor/audio.h>
67 #include<libtransistor/waiter.h>
71 
72 // linking
73 #include<libtransistor/ld/ld.h>
74 #include<libtransistor/ld/elf.h>
75 
76 #ifdef __cplusplus
77 }
78 #endif
Thread Local Storage functions.
Nvidia Services.
Audio data structures.
Service Manager.
Manager for waiting on synchronizable handles.
Various system types.
Dynamic linking functions.
Twili Services See https://github.com/misson20000/twili.
Time Services.
Visual Services.
Fatal error services.
Controller input data structures and functions.
BSD Sockets.
Homebrew ABI configuration.
Process management.
Page allocation functions.
Network Interface Manager.
IPC Server data structures and functions.
Threading functions.
Runtime configuration.
Adapter for squashfuse to libtransistor virtual filesystem.
Display data structures and functions.
AM (Applet Manager)
Central graphics header. Contains all of the other graphics headers.
Memory-backed file functions.
Functions and macros to make using IPC a little easier.
GPU functions.
Board Power Control.
Condition variables.
FSP-SRV based filesystem.
Functions to setup filesystem.
Lists Inspired by the concepts of the Linux kernel list API.
String encoding functions Based on https://github.com/nothings/stb.
ELF structures.
File operations.
Various utililty functions.
Error definitions.
Loader Services.
Audio output.
Mutex functions and thread-safety macros.
Root Filesystem.
File System.
Display surface data structures and functions.
Fence data structures.
Functions to query the current environment.
USB Services.
Interprocess Communication data structures and functions.
Inode structures and functions for virtual filesystem.
Supervisor Calls.
Address space management.
Human Interface Device IPC bindings.
USB Serial Console.