github.com/racerxdl/gonx@v0.0.0-20210103083128-c5afc43bcbd2/nx/env/types.go (about) 1 package env 2 3 // Types of config Entry. 4 // https://github.com/switchbrew/libnx/blob/master/nx/include/switch/runtime/env.h#L24-L40 5 const ( 6 envEntryTypeEndOfList = 0 // Entry list terminator. 7 envEntryTypeMainThreadHandle = 1 // Provides the handle to the main thread. 8 envEntryTypeNextLoadPath = 2 // Provides a buffer containing information about the next homebrew application to load. 9 envEntryTypeOverrideHeap = 3 // Provides heap override information. 10 envEntryTypeOverrideService = 4 // Provides service override information. 11 envEntryTypeArgv = 5 // Provides argv. 12 envEntryTypeSyscallAvailableHint = 6 // Provides syscall availability hints. 13 envEntryTypeAppletType = 7 // Provides APT applet type. 14 envEntryTypeAppletWorkaround = 8 // Indicates that APT is broken and should not be used. 15 envEntryTypeReserved9 = 9 // Unused/reserved entry type, formerly used by StdioSockets. 16 envEntryTypeProcessHandle = 10 // Provides the process handle. 17 envEntryTypeLastLoadResult = 11 // Provides the last load result. 18 envEntryTypeRandomSeed = 14 // Provides random data used to seed the pseudo-random number generator. 19 envEntryTypeUserIdStorage = 15 // Provides persistent storage for the preselected user id. 20 envEntryTypeHosVersion = 16 // Provides the currently running Horizon OS version. 21 )