vitasdk
Documentation of the vitasdk
sysmodule.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_SYSMODULE_H_
8 #define _PSP2_SYSMODULE_H_
9 
10 #include <vitasdk/build_utils.h>
11 #include <psp2/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
18 typedef enum SceSysmoduleErrorCode {
22  SCE_SYSMODULE_ERROR_FATAL = 0x805A10FF
24 
26 typedef enum SceSysmoduleModuleId {
28  SCE_SYSMODULE_NET = 0x0001,
29  SCE_SYSMODULE_HTTP = 0x0002,
30  SCE_SYSMODULE_SSL = 0x0003,
32  SCE_SYSMODULE_PERF = 0x0005,
34  SCE_SYSMODULE_ULT = 0x0007,
35  SCE_SYSMODULE_DBG = 0x0008,
38  SCE_SYSMODULE_NGS = 0x000B,
40  SCE_SYSMODULE_SAS = 0x000D,
41  SCE_SYSMODULE_PGF = 0x000E,
44  SCE_SYSMODULE_IME = 0x0011,
48  SCE_SYSMODULE_NP = 0x0015,
50  SCE_SYSMODULE_XML = 0x0017,
60  SCE_SYSMODULE_RUDP = 0x0021,
72  SCE_SYSMODULE_MP4 = 0x002D,
81  SCE_SYSMODULE_IPMI = 0x0036,
83  SCE_SYSMODULE_FACE = 0x0038,
91  SCE_SYSMODULE_MONO = 0x0040,
92  SCE_SYSMODULE_PSM = 0x0041,
112  SCE_SYSMODULE_JSON = 0x0055
114 
157 
158 typedef struct SceSysmoduleOpt {
159  int flags;
160  int *result;
161  int unused[2];
164 
173 
182 
191 
200 
209 
218 
230 
242 
243 #ifdef __cplusplus
244 }
245 #endif
246 
247 #endif /* _PSP2_SYSMODULE_H_ */
248 
int sceSysmoduleUnloadModuleInternal(SceSysmoduleInternalModuleId id)
Unload an internal module.
SceSysmoduleInternalModuleId
Available internal modules ID for sceSysmoduleLoadModuleInternal.
Definition: sysmodule.h:116
VITASDK_BUILD_ASSERT_EQ(0x10, SceSysmoduleOpt)
int unused[2]
Definition: sysmodule.h:161
int flags
Definition: sysmodule.h:159
int sceSysmoduleIsLoadedInternal(SceSysmoduleInternalModuleId id)
Check if an internal module is loaded.
int sceSysmoduleIsLoaded(SceSysmoduleModuleId id)
Check if a module is loaded.
int sceSysmoduleUnloadModuleInternalWithArg(SceSysmoduleInternalModuleId id, SceSize args, void *argp, const SceSysmoduleOpt *option)
Unload an internal module with custom arguments.
int sceSysmoduleLoadModuleInternal(SceSysmoduleInternalModuleId id)
Load an internal module.
int sceSysmoduleLoadModuleInternalWithArg(SceSysmoduleInternalModuleId id, SceSize args, void *argp, const SceSysmoduleOpt *option)
Load an internal module with custom arguments.
SceSysmoduleModuleId
Available modules ID for sceSysmoduleLoadModule.
Definition: sysmodule.h:26
int * result
Definition: sysmodule.h:160
int sceSysmoduleUnloadModule(SceSysmoduleModuleId id)
Unload a module.
int sceSysmoduleLoadModule(SceSysmoduleModuleId id)
Load a module.
SceSysmoduleErrorCode
Errorcodes for SceSysmodule.
Definition: sysmodule.h:18
@ SCE_SYSMODULE_INTERNAL_PARTY_MEMBER_LIST
Party Member List module.
Definition: sysmodule.h:151
@ SCE_SYSMODULE_INTERNAL_G729
G729 module.
Definition: sysmodule.h:120
@ SCE_SYSMODULE_INTERNAL_DB_RECOVERY_UTILITY
DBRecoveryUtil module.
Definition: sysmodule.h:149
@ SCE_SYSMODULE_INTERNAL_NP_MESSAGE_DIALOG_IMPL
NpMessageDlg module.
Definition: sysmodule.h:147
@ SCE_SYSMODULE_INTERNAL_PHOTO_REVIEW_DIALOG
Photo Review Dialog module.
Definition: sysmodule.h:132
@ SCE_SYSMODULE_INTERNAL_JPEG_ARM
sceJpegArm module
Definition: sysmodule.h:119
@ SCE_SYSMODULE_INTERNAL_PAF
Paf module.
Definition: sysmodule.h:124
@ SCE_SYSMODULE_INTERNAL_NET_CHECK_DIALOG
NetCheck Dialog module.
Definition: sysmodule.h:136
@ SCE_SYSMODULE_INTERNAL_ACTIVITY_DB
ActivityDB module.
Definition: sysmodule.h:127
@ SCE_SYSMODULE_INTERNAL_SQLITE_VSH
sceSqliteVsh module
Definition: sysmodule.h:125
@ SCE_SYSMODULE_INTERNAL_FRIEND_LIST_DIALOG
FriendList Dialog module.
Definition: sysmodule.h:140
@ SCE_SYSMODULE_INTERNAL_JPEG_ENC_ARM
sceJpegEncArm module
Definition: sysmodule.h:117
@ SCE_SYSMODULE_INTERNAL_NP_FRIEND_PRIVACY_LEVEL
NpFriend Privacy Level module.
Definition: sysmodule.h:142
@ SCE_SYSMODULE_INTERNAL_CHECKOUT_DIALOG
Checkout Dialog module.
Definition: sysmodule.h:133
@ SCE_SYSMODULE_INTERNAL_NP_MESSAGE_CONTACTS
NpMessageContacts module.
Definition: sysmodule.h:148
@ SCE_SYSMODULE_INTERNAL_ULT
Ult module.
Definition: sysmodule.h:152
@ SCE_SYSMODULE_INTERNAL_PROMOTER_UTIL
scePromoterUtil module
Definition: sysmodule.h:150
@ SCE_SYSMODULE_INTERNAL_STORE_CHECKOUT
Store Checkout module.
Definition: sysmodule.h:129
@ SCE_SYSMODULE_INTERNAL_LOCATION_FACTORY
Location Factory module.
Definition: sysmodule.h:155
@ SCE_SYSMODULE_INTERNAL_COMMON_DIALOG_MAIN
Common Dialog Main module.
Definition: sysmodule.h:134
@ SCE_SYSMODULE_INTERNAL_DRM_PSM_KDC
DRM PSM KDC module.
Definition: sysmodule.h:153
@ SCE_SYSMODULE_INTERNAL_TROPHY_SETUP_DIALOG
Trophy Setup Dialog module.
Definition: sysmodule.h:139
@ SCE_SYSMODULE_INTERNAL_INI_FILE_PROCESSOR
INI File Processor module.
Definition: sysmodule.h:122
@ SCE_SYSMODULE_INTERNAL_DBUTIL
DBUtil module.
Definition: sysmodule.h:126
@ SCE_SYSMODULE_INTERNAL_NP_KDC
NpKdc module.
Definition: sysmodule.h:144
@ SCE_SYSMODULE_INTERNAL_MUSIC_EXPORT
Music Export module.
Definition: sysmodule.h:145
@ SCE_SYSMODULE_INTERNAL_PHOTO_IMPORT_DIALOG
Photo Import Dialog module.
Definition: sysmodule.h:131
@ SCE_SYSMODULE_INTERNAL_AUDIOCODEC
AudioCodec module.
Definition: sysmodule.h:118
@ SCE_SYSMODULE_INTERNAL_BXCE
BXCE module.
Definition: sysmodule.h:121
@ SCE_SYSMODULE_INTERNAL_NP_ACTIVITY_NET
NpActivityNet module.
Definition: sysmodule.h:123
@ SCE_SYSMODULE_INTERNAL_NP_MESSAGE_DIALOG
NpMessage Dialog module.
Definition: sysmodule.h:138
@ SCE_SYSMODULE_INTERNAL_MSG_DIALOG
sceMsgDialog module
Definition: sysmodule.h:135
@ SCE_SYSMODULE_INTERNAL_COMMON_GUI_DIALOG
Common Gui Dialog module.
Definition: sysmodule.h:128
@ SCE_SYSMODULE_INTERNAL_NP_COMMERCE2
NpCommerce2 module.
Definition: sysmodule.h:143
@ SCE_SYSMODULE_INTERNAL_NEAR_PROFILE
Near Profile module.
Definition: sysmodule.h:141
@ SCE_SYSMODULE_INTERNAL_SAVEDATA_DIALOG
SaveData Dialog module.
Definition: sysmodule.h:137
@ SCE_SYSMODULE_INTERNAL_VIDEO_EXPORT
Video Export module.
Definition: sysmodule.h:146
@ SCE_SYSMODULE_INTERNAL_IME_DIALOG
Ime Dialog module.
Definition: sysmodule.h:130
@ SCE_SYSMODULE_INTERNAL_LOCATION_INTERNAL
sceLocation module
Definition: sysmodule.h:154
@ SCE_SYSMODULE_APPUTIL
AppUtil module.
Definition: sysmodule.h:42
@ SCE_SYSMODULE_XML
XML module.
Definition: sysmodule.h:50
@ SCE_SYSMODULE_NEAR_UTIL
NearUtil module.
Definition: sysmodule.h:70
@ SCE_SYSMODULE_PSM_DEVAGENT
Psm devagent module.
Definition: sysmodule.h:93
@ SCE_SYSMODULE_NP_TUS
NpTus module.
Definition: sysmodule.h:71
@ SCE_SYSMODULE_VOICE
Voice module.
Definition: sysmodule.h:53
@ SCE_SYSMODULE_DBG
DBG module.
Definition: sysmodule.h:35
@ SCE_SYSMODULE_AUDIOCODEC
AudioCodec module.
Definition: sysmodule.h:82
@ SCE_SYSMODULE_MONO
Mono module.
Definition: sysmodule.h:91
@ SCE_SYSMODULE_IME
Ime module.
Definition: sysmodule.h:44
@ SCE_SYSMODULE_TELEPORT_SERVER
Teleport Server module.
Definition: sysmodule.h:107
@ SCE_SYSMODULE_MP4
MP4 module.
Definition: sysmodule.h:72
@ SCE_SYSMODULE_PGF
Pgf module.
Definition: sysmodule.h:41
@ SCE_SYSMODULE_NP
Np module.
Definition: sysmodule.h:48
@ SCE_SYSMODULE_TRIGGER_UTIL
TriggerUtil module.
Definition: sysmodule.h:59
@ SCE_SYSMODULE_TELEPORT_CLIENT
Teleport Client module.
Definition: sysmodule.h:106
@ SCE_SYSMODULE_MONO_BRIDGE
Mono bridge module.
Definition: sysmodule.h:90
@ SCE_SYSMODULE_CLIPBOARD
Clipboard module.
Definition: sysmodule.h:67
@ SCE_SYSMODULE_CODECENGINE_PERF
CodecEngine Perf module.
Definition: sysmodule.h:61
@ SCE_SYSMODULE_BEMP2SYS
BEMP2SYS module.
Definition: sysmodule.h:99
@ SCE_SYSMODULE_FACE
Face module.
Definition: sysmodule.h:83
@ SCE_SYSMODULE_ATRAC
Atrac module.
Definition: sysmodule.h:75
@ SCE_SYSMODULE_SAS
Sas module.
Definition: sysmodule.h:40
@ SCE_SYSMODULE_IPMI
IPMI module.
Definition: sysmodule.h:81
@ SCE_SYSMODULE_MARLIN_APP_LIB
Marlin AppLib module.
Definition: sysmodule.h:87
@ SCE_SYSMODULE_PERF
Perf module.
Definition: sysmodule.h:32
@ SCE_SYSMODULE_AVPLAYER
AVPlayer module.
Definition: sysmodule.h:103
@ SCE_SYSMODULE_INCOMING_DIALOG
Incoming Dialog module.
Definition: sysmodule.h:80
@ SCE_SYSMODULE_NP_BASIC
NpBasic module.
Definition: sysmodule.h:45
@ SCE_SYSMODULE_SQLITE
Sqlite module.
Definition: sysmodule.h:58
@ SCE_SYSMODULE_LOCATION
Location module.
Definition: sysmodule.h:47
@ SCE_SYSMODULE_NET_ADHOC_MATCHING
NetAdhoc Matching module.
Definition: sysmodule.h:69
@ SCE_SYSMODULE_INVALID
Invalid module.
Definition: sysmodule.h:27
@ SCE_SYSMODULE_DTCP_IP
DTCP/IP module.
Definition: sysmodule.h:95
@ SCE_SYSMODULE_NP_ACTIVITY
NpActivity module.
Definition: sysmodule.h:63
@ SCE_SYSMODULE_LOCATION_EXTENSION
LocationExt module.
Definition: sysmodule.h:102
@ SCE_SYSMODULE_PSM
Psm module.
Definition: sysmodule.h:92
@ SCE_SYSMODULE_FIBER
Fiber module.
Definition: sysmodule.h:33
@ SCE_SYSMODULE_LIVEAREA
Livearea module.
Definition: sysmodule.h:62
@ SCE_SYSMODULE_BG_APP_UTIL
BgAppUtil module.
Definition: sysmodule.h:79
@ SCE_SYSMODULE_SYSTEM_GESTURE
System Gesture module.
Definition: sysmodule.h:46
@ SCE_SYSMODULE_NP_SNS_FACEBOOK
NpSns Facebook module.
Definition: sysmodule.h:76
@ SCE_SYSMODULE_HTTPS
HTTPS module.
Definition: sysmodule.h:31
@ SCE_SYSMODULE_RAZOR_CAPTURE
Razor Capture module.
Definition: sysmodule.h:36
@ SCE_SYSMODULE_SCREEN_SHOT
ScreenShot module.
Definition: sysmodule.h:56
@ SCE_SYSMODULE_NP_MESSAGE
NpMessage module.
Definition: sysmodule.h:65
@ SCE_SYSMODULE_NEAR_DIALOG_UTIL
NearDialogUtil module.
Definition: sysmodule.h:101
@ SCE_SYSMODULE_SHACCCG
ShaccCg module.
Definition: sysmodule.h:89
@ SCE_SYSMODULE_RAZOR_HUD
Razor HUD module.
Definition: sysmodule.h:37
@ SCE_SYSMODULE_NET
Net module.
Definition: sysmodule.h:28
@ SCE_SYSMODULE_SHUTTER_SOUND
Shutter Sound module.
Definition: sysmodule.h:66
@ SCE_SYSMODULE_NOTIFICATION_UTIL
NotificationUtil module.
Definition: sysmodule.h:78
@ SCE_SYSMODULE_MUSIC_EXPORT
Music Export module.
Definition: sysmodule.h:100
@ SCE_SYSMODULE_VOICEQOS
VoiceQos module.
Definition: sysmodule.h:54
@ SCE_SYSMODULE_NP_SIGNALING
NpSignaling module.
Definition: sysmodule.h:97
@ SCE_SYSMODULE_MARLIN
Marlin module.
Definition: sysmodule.h:85
@ SCE_SYSMODULE_NP_TROPHY
NpTrophy module.
Definition: sysmodule.h:64
@ SCE_SYSMODULE_AACENC
AacEnc module.
Definition: sysmodule.h:73
@ SCE_SYSMODULE_SMART
Smart module.
Definition: sysmodule.h:84
@ SCE_SYSMODULE_NP_SCORE_RANKING
NpScoreRanking module.
Definition: sysmodule.h:57
@ SCE_SYSMODULE_AVCDEC
AVCDec module.
Definition: sysmodule.h:111
@ SCE_SYSMODULE_NP_UTILITY
NpUtility module.
Definition: sysmodule.h:52
@ SCE_SYSMODULE_ULT
Ult module.
Definition: sysmodule.h:34
@ SCE_SYSMODULE_APPUTIL_EXT
AppUtilExt module.
Definition: sysmodule.h:109
@ SCE_SYSMODULE_NP_WEBAPI
NpWebApi module.
Definition: sysmodule.h:110
@ SCE_SYSMODULE_PHOTO_EXPORT
Photo Export module.
Definition: sysmodule.h:49
@ SCE_SYSMODULE_RUDP
Rudp module.
Definition: sysmodule.h:60
@ SCE_SYSMODULE_MAIL_API
Mail Api module.
Definition: sysmodule.h:105
@ SCE_SYSMODULE_PSPNET_ADHOC
PSPNet Adhoc module.
Definition: sysmodule.h:94
@ SCE_SYSMODULE_HTTP
HTTP module.
Definition: sysmodule.h:29
@ SCE_SYSMODULE_NP_COMMERCE2
NPCommerce2 module.
Definition: sysmodule.h:51
@ SCE_SYSMODULE_SSL
SSL module.
Definition: sysmodule.h:30
@ SCE_SYSMODULE_VIDEO_EXPORT
Video Export module.
Definition: sysmodule.h:77
@ SCE_SYSMODULE_FIOS2
Fios2 module.
Definition: sysmodule.h:43
@ SCE_SYSMODULE_MARLIN_DOWNLOADER
Marlin Downloader module.
Definition: sysmodule.h:86
@ SCE_SYSMODULE_SULPHA
Sulpha module.
Definition: sysmodule.h:39
@ SCE_SYSMODULE_HANDWRITING
Handwriting module.
Definition: sysmodule.h:74
@ SCE_SYSMODULE_NP_PARTY
NpParty module.
Definition: sysmodule.h:68
@ SCE_SYSMODULE_GAME_UPDATE
Game Update module.
Definition: sysmodule.h:104
@ SCE_SYSMODULE_NGS
NGS module.
Definition: sysmodule.h:38
@ SCE_SYSMODULE_BEISOBMF
BEISOBMF module.
Definition: sysmodule.h:98
@ SCE_SYSMODULE_TELEPHONY_UTIL
TelephonyUtil module.
Definition: sysmodule.h:88
@ SCE_SYSMODULE_VIDEO_SEARCH_EMPR
VideoSearch module.
Definition: sysmodule.h:96
@ SCE_SYSMODULE_NP_MATCHING2
NpMatching2 module.
Definition: sysmodule.h:55
@ SCE_SYSMODULE_JSON
JSON module.
Definition: sysmodule.h:112
@ SCE_SYSMODULE_MP4_RECORDER
MP4 Recorder module.
Definition: sysmodule.h:108
@ SCE_SYSMODULE_ERROR_FATAL
Fatal error.
Definition: sysmodule.h:22
@ SCE_SYSMODULE_LOADED
Module is already loaded.
Definition: sysmodule.h:19
@ SCE_SYSMODULE_ERROR_UNLOADED
Module is not loaded.
Definition: sysmodule.h:21
@ SCE_SYSMODULE_ERROR_INVALID_VALUE
Invalid value.
Definition: sysmodule.h:20
Definition: sysmodule.h:158
unsigned int SceSize
Definition: types.h:56