summaryrefslogtreecommitdiff
path: root/include/user
diff options
context:
space:
mode:
Diffstat (limited to 'include/user')
-rw-r--r--include/user/appmgr.h14
-rw-r--r--include/user/kernel/modulemgr.h3
2 files changed, 17 insertions, 0 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h
index 65fd1d4..b659731 100644
--- a/include/user/appmgr.h
+++ b/include/user/appmgr.h
@@ -65,6 +65,15 @@ int sceAppMgrDestroyOtherApp(void);
//! name: The Title ID of the application
int sceAppMgrDestroyAppByName(char *name);
+//! appId: The application id of the application
+int sceAppMgrDestroyAppByAppId(SceUID appId);
+
+//! Get process id by app id for shell
+SceUID sceAppMgrGetProcessIdByAppIdForShell(SceUID appId);
+
+//! Get list of running app ids (usually returns 1 app id)
+int sceAppMgrGetRunningAppIdListForShell(SceUID *appIds, int count);
+
int _sceAppMgrGetAppState(SceAppMgrAppState *appState, uint32_t len, uint32_t version);
/**
@@ -100,6 +109,11 @@ int sceAppMgrLaunchAppByUri(int flags, char *uri);
//! param: The parameter passed to the application which can be retrieved with sceAppMgrGetAppParam
int sceAppMgrLaunchAppByName2(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam);
+//! name: The Title ID of the application
+//! param: The parameter passed to the application which can be retrieved with sceAppMgrGetAppParam
+//! return AppId ?
+SceUID sceAppMgrLaunchAppByName2ForShell(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam);
+
//! id: 100 (photo0), 101 (friends), 102 (messages), 103 (near), 105 (music), 108 (calendar)
int sceAppMgrAppDataMount(int id, char *mount_point);
diff --git a/include/user/kernel/modulemgr.h b/include/user/kernel/modulemgr.h
index ddf72dc..973f841 100644
--- a/include/user/kernel/modulemgr.h
+++ b/include/user/kernel/modulemgr.h
@@ -67,6 +67,9 @@ int sceKernelGetModuleInfo(SceUID modid, SceKernelModuleInfo *info);
SceUID sceKernelLoadModule(char *path, int flags, SceKernelLMOption *option);
int sceKernelUnloadModule(SceUID modid, int flags, SceKernelULMOption *option);
+int sceKernelStartModule(SceUID modid, SceSize args, void *argp, int flags, void *option, int *status);
+int sceKernelStopModule(SceUID modid, SceSize args, void *argp, int flags, void *option, int *status);
+
SceUID sceKernelLoadStartModule(char *path, SceSize args, void *argp, int flags, SceKernelLMOption *option, int *status);
int sceKernelStopUnloadModule(SceUID modid, SceSize args, void *argp, int flags, SceKernelULMOption *option, int *status);