diff options
author | Reiko Asakura | 2021-01-16 23:31:09 -0500 |
---|---|---|
committer | Reiko Asakura | 2021-01-16 23:31:09 -0500 |
commit | 0406caf2a6056a13dcf9721444e7d13b97ef8776 (patch) | |
tree | e9224fcaecc46e674344fa4b300e285c749d702f /include/user | |
parent | Remove dupe: display.h (diff) | |
download | vds-libraries-0406caf2a6056a13dcf9721444e7d13b97ef8776.tar.gz |
Remove dupe: sysmodule.h
Diffstat (limited to 'include/user')
-rw-r--r-- | include/user/libsysmodule.h (renamed from include/user/sysmodule.h) | 111 |
1 files changed, 6 insertions, 105 deletions
diff --git a/include/user/sysmodule.h b/include/user/libsysmodule.h index 7ec1021..6483fc4 100644 --- a/include/user/sysmodule.h +++ b/include/user/libsysmodule.h @@ -1,103 +1,31 @@ #ifndef _PSP2_SYSMODULE_H_ #define _PSP2_SYSMODULE_H_ -#include <psp2/types.h> +#include_next <libsysmodule.h> #ifdef __cplusplus extern "C" { #endif -/** Errorcodes for SceSysmodule */ -typedef enum SceSysmoduleErrorCode { - SCE_SYSMODULE_LOADED = 0, //!< Module is already loaded - SCE_SYSMODULE_ERROR_INVALID_VALUE = (int)0x805A1000, //!< Invalid value - SCE_SYSMODULE_ERROR_UNLOADED = (int)0x805A1001, //!< Module is not loaded - SCE_SYSMODULE_ERROR_FATAL = (int)0x805A10FF //!< Fatal error -} SceSysmoduleErrorCode; - /** Available modules ID for ::sceSysmoduleLoadModule */ typedef enum SceSysmoduleModuleId { - SCE_SYSMODULE_INVALID = 0x0000, //!< Invalid module - SCE_SYSMODULE_NET = 0x0001, //!< Net module - SCE_SYSMODULE_HTTP = 0x0002, //!< HTTP module - SCE_SYSMODULE_SSL = 0x0003, //!< SSL module - SCE_SYSMODULE_HTTPS = 0x0004, //!< HTTPS module - SCE_SYSMODULE_PERF = 0x0005, //!< Perf module - SCE_SYSMODULE_FIBER = 0x0006, //!< Fiber module - SCE_SYSMODULE_ULT = 0x0007, //!< Ult module - SCE_SYSMODULE_DBG = 0x0008, //!< DBG module - SCE_SYSMODULE_RAZOR_CAPTURE = 0x0009, //!< Razor Capture module - SCE_SYSMODULE_RAZOR_HUD = 0x000A, //!< Razor HUD module - SCE_SYSMODULE_NGS = 0x000B, //!< NGS module - SCE_SYSMODULE_SULPHA = 0x000C, //!< Sulpha module - SCE_SYSMODULE_SAS = 0x000D, //!< Sas module - SCE_SYSMODULE_PGF = 0x000E, //!< Pgf module - SCE_SYSMODULE_APPUTIL = 0x000F, //!< AppUtil module - SCE_SYSMODULE_FIOS2 = 0x0010, //!< Fios2 module - SCE_SYSMODULE_IME = 0x0011, //!< Ime module - SCE_SYSMODULE_NP_BASIC = 0x0012, //!< NpBasic module - SCE_SYSMODULE_SYSTEM_GESTURE = 0x0013, //!< System Gesture module - SCE_SYSMODULE_LOCATION = 0x0014, //!< Location module - SCE_SYSMODULE_NP = 0x0015, //!< Np module - SCE_SYSMODULE_PHOTO_EXPORT = 0x0016, //!< Photo Export module - SCE_SYSMODULE_XML = 0x0017, //!< XML module - SCE_SYSMODULE_NP_COMMERCE2 = 0x0018, //!< NPCommerce2 module - SCE_SYSMODULE_NP_UTILITY = 0x0019, //!< NpUtility module - SCE_SYSMODULE_VOICE = 0x001A, //!< Voice module - SCE_SYSMODULE_VOICEQOS = 0x001B, //!< VoiceQos module - SCE_SYSMODULE_NP_MATCHING2 = 0x001C, //!< NpMatching2 module - SCE_SYSMODULE_SCREEN_SHOT = 0x001D, //!< ScreenShot module - SCE_SYSMODULE_NP_SCORE_RANKING = 0x001E, //!< NpScoreRanking module - SCE_SYSMODULE_SQLITE = 0x001F, //!< Sqlite module SCE_SYSMODULE_TRIGGER_UTIL = 0x0020, //!< TriggerUtil module - SCE_SYSMODULE_RUDP = 0x0021, //!< Rudp module - SCE_SYSMODULE_CODECENGINE_PERF = 0x0022, //!< CodecEngine Perf module - SCE_SYSMODULE_LIVEAREA = 0x0023, //!< Livearea module - SCE_SYSMODULE_NP_ACTIVITY = 0x0024, //!< NpActivity module - SCE_SYSMODULE_NP_TROPHY = 0x0025, //!< NpTrophy module - SCE_SYSMODULE_NP_MESSAGE = 0x0026, //!< NpMessage module - SCE_SYSMODULE_SHUTTER_SOUND = 0x0027, //!< Shutter Sound module - SCE_SYSMODULE_CLIPBOARD = 0x0028, //!< Clipboard module - SCE_SYSMODULE_NP_PARTY = 0x0029, //!< NpParty module - SCE_SYSMODULE_NET_ADHOC_MATCHING = 0x002A, //!< NetAdhoc Matching module - SCE_SYSMODULE_NEAR_UTIL = 0x002B, //!< NearUtil module - SCE_SYSMODULE_NP_TUS = 0x002C, //!< NpTus module - SCE_SYSMODULE_MP4 = 0x002D, //!< MP4 module - SCE_SYSMODULE_AACENC = 0x002E, //!< AacEnc module - SCE_SYSMODULE_HANDWRITING = 0x002F, //!< Handwriting module - SCE_SYSMODULE_ATRAC = 0x0030, //!< Atrac module - SCE_SYSMODULE_NP_SNS_FACEBOOK = 0x0031, //!< NpSns Facebook module SCE_SYSMODULE_VIDEO_EXPORT = 0x0032, //!< Video Export module SCE_SYSMODULE_NOTIFICATION_UTIL = 0x0033, //!< NotificationUtil module SCE_SYSMODULE_BG_APP_UTIL = 0x0034, //!< BgAppUtil module SCE_SYSMODULE_INCOMING_DIALOG = 0x0035, //!< Incoming Dialog module SCE_SYSMODULE_IPMI = 0x0036, //!< IPMI module SCE_SYSMODULE_AUDIOCODEC = 0x0037, //!< AudioCodec module - SCE_SYSMODULE_FACE = 0x0038, //!< Face module - SCE_SYSMODULE_SMART = 0x0039, //!< Smart module SCE_SYSMODULE_MARLIN = 0x003A, //!< Marlin module SCE_SYSMODULE_MARLIN_DOWNLOADER = 0x003B, //!< Marlin Downloader module SCE_SYSMODULE_MARLIN_APP_LIB = 0x003C, //!< Marlin AppLib module SCE_SYSMODULE_TELEPHONY_UTIL = 0x003D, //!< TelephonyUtil module - SCE_SYSMODULE_PSPNET_ADHOC = 0x0043, //!< PSPNet Adhoc module SCE_SYSMODULE_DTCP_IP = 0x0044, //!< DTCP/IP module SCE_SYSMODULE_VIDEO_SEARCH_EMPR = 0x0045, //!< VideoSearch module - SCE_SYSMODULE_NP_SIGNALING = 0x0046, //!< NpSignaling module SCE_SYSMODULE_BEISOBMF = 0x0047, //!< BEISOBMF module SCE_SYSMODULE_BEMP2SYS = 0x0048, //!< BEMP2SYS module - SCE_SYSMODULE_MUSIC_EXPORT = 0x0049, //!< Music Export module - SCE_SYSMODULE_NEAR_DIALOG_UTIL = 0x004A, //!< NearDialogUtil module - SCE_SYSMODULE_LOCATION_EXTENSION = 0x004B, //!< LocationExt module - SCE_SYSMODULE_AVPLAYER = 0x004C, //!< AVPlayer module - SCE_SYSMODULE_GAME_UPDATE = 0x004D, //!< Game Update module SCE_SYSMODULE_MAIL_API = 0x004E, //!< Mail Api module - SCE_SYSMODULE_TELEPORT_CLIENT = 0x004F, //!< Teleport Client module - SCE_SYSMODULE_TELEPORT_SERVER = 0x0050, //!< Teleport Server module - SCE_SYSMODULE_MP4_RECORDER = 0x0051, //!< MP4 Recorder module - SCE_SYSMODULE_APPUTIL_EXT = 0x0052, //!< AppUtilExt module - SCE_SYSMODULE_NP_WEBAPI = 0x0053, //!< NpWebApi module SCE_SYSMODULE_AVCDEC = 0x0054, //!< AVCDec module - SCE_SYSMODULE_JSON = 0x0055 //!< JSON module } SceSysmoduleModuleId; /** Available internal modules ID for ::sceSysmoduleLoadModuleInternal */ @@ -144,40 +72,13 @@ typedef enum SceSysmoduleInternalModuleId { } SceSysmoduleInternalModuleId; /** - * Load a module. - * - * @param[in] id - Module ID to load. - * - * @return 0 on success, <0 on error. - */ -int sceSysmoduleLoadModule(SceSysmoduleModuleId id); - -/** - * Unload a module. - * - * @param[in] id - Module ID to unload. - * - * @return 0 on success, <0 on error. - */ -int sceSysmoduleUnloadModule(SceSysmoduleModuleId id); - -/** - * Check if a module is loaded. - * - * @param[in] id - Module ID to check. - * - * @return 0 if loaded, <0 otherwise. - */ -int sceSysmoduleIsLoaded(SceSysmoduleModuleId id); - -/** * Load an internal module. * * @param[in] id - Module ID to load. * * @return 0 on success, <0 on error. */ -int sceSysmoduleLoadModuleInternal(SceSysmoduleInternalModuleId id); +int sceSysmoduleLoadModuleInternal(SceUInt32 id); /** * Unload an internal module. @@ -186,7 +87,7 @@ int sceSysmoduleLoadModuleInternal(SceSysmoduleInternalModuleId id); * * @return 0 on success, <0 on error. */ -int sceSysmoduleUnloadModuleInternal(SceSysmoduleInternalModuleId id); +int sceSysmoduleUnloadModuleInternal(SceUInt32 id); /** * Check if an internal module is loaded. @@ -195,7 +96,7 @@ int sceSysmoduleUnloadModuleInternal(SceSysmoduleInternalModuleId id); * * @return 0 if loaded, <0 otherwise. */ -int sceSysmoduleIsLoadedInternal(SceSysmoduleInternalModuleId id); +int sceSysmoduleIsLoadedInternal(SceUInt32 id); /** * Load an internal module with custom arguments. @@ -207,7 +108,7 @@ int sceSysmoduleIsLoadedInternal(SceSysmoduleInternalModuleId id); * * @return 0 on success, <0 otherwise. */ -int sceSysmoduleLoadModuleInternalWithArg(SceSysmoduleInternalModuleId id, SceSize args, void *argp, void *unk); +int sceSysmoduleLoadModuleInternalWithArg(SceUInt32 id, SceSize args, void *argp, void *unk); /** * Unload an internal module with custom arguments. @@ -219,7 +120,7 @@ int sceSysmoduleLoadModuleInternalWithArg(SceSysmoduleInternalModuleId id, SceSi * * @return 0 on success, <0 otherwise. */ -int sceSysmoduleUnloadModuleInternalWithArg(SceSysmoduleInternalModuleId id, SceSize args, void *argp, void *unk); +int sceSysmoduleUnloadModuleInternalWithArg(SceUInt32 id, SceSize args, void *argp, void *unk); #ifdef __cplusplus } |