summaryrefslogtreecommitdiff
path: root/include/user
diff options
context:
space:
mode:
authordevnoname1202018-11-14 19:36:31 +0100
committerGitHub2018-11-14 19:36:31 +0100
commit558403fadbf6e6bc60f700888bf7e510ebc4bb21 (patch)
tree185c31f5980200fb576c9e74cb421abc70c0da65 /include/user
parentMerge pull request #367 from Princess-of-Sleeping/master (diff)
downloadvds-libraries-558403fadbf6e6bc60f700888bf7e510ebc4bb21.tar.gz
appmgr: add some const keywords
Diffstat (limited to 'include/user')
-rw-r--r--include/user/appmgr.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h
index a0d44ef..a11c0ef 100644
--- a/include/user/appmgr.h
+++ b/include/user/appmgr.h
@@ -177,7 +177,7 @@ int sceAppMgrDestroyOtherApp(void);
*
* @return 0 on success, < 0 on error.
*/
-int sceAppMgrDestroyAppByName(char *name);
+int sceAppMgrDestroyAppByName(const char *name);
/**
* Destroy an application by Application ID
@@ -230,7 +230,7 @@ int sceAppMgrReceiveSystemEvent(SceAppMgrSystemEvent *systemEvent);
/**
* Copies app param to an array
*
- * @param[in] param - pointer to a 1024 byte location to store the app param
+ * @param[out] param - pointer to a 1024 byte location to store the app param
*
* @return 0 on success, < 0 on error.
*
@@ -290,7 +290,7 @@ int sceAppMgrLoadExec(const char *appPath, char * const argv[],
*
* @note If flags != 0x20000, Livearea is opened.
*/
-int sceAppMgrLaunchAppByUri(int flags, char *uri);
+int sceAppMgrLaunchAppByUri(int flags, const char *uri);
/**
* Start an application by Title ID
@@ -325,7 +325,7 @@ SceUID sceAppMgrLaunchAppByName2ForShell(const char *name, const char *param, Sc
* @return 0 on success, < 0 on error.
*
*/
-int sceAppMgrGameDataMount(const char *path, int unk1, int unk2, char *mount_point);
+int sceAppMgrGameDataMount(const char *path, int unk1, int unk2, const char *mount_point);
/**
* Mount application data
@@ -337,7 +337,7 @@ int sceAppMgrGameDataMount(const char *path, int unk1, int unk2, char *mount_poi
*
* @note id: 100 (photo0), 101 (friends), 102 (messages), 103 (near), 105 (music), 108 (calendar)
*/
-int sceAppMgrAppDataMount(int id, char *mount_point);
+int sceAppMgrAppDataMount(int id, const char *mount_point);
/**
* Mount application data by Title ID
@@ -350,7 +350,7 @@ int sceAppMgrAppDataMount(int id, char *mount_point);
*
* @note id: 106 (ad), 107 (ad)
*/
-int sceAppMgrAppDataMountById(int id, char *titleid, char *mount_point);
+int sceAppMgrAppDataMountById(int id, const char *titleid, const char *mount_point);
/**
* Get application params from SFO descriptor
@@ -377,7 +377,7 @@ int sceAppMgrAppParamGetString(int pid, int param, char *string, int length);
*
* @note dev: ux0:
*/
-int sceAppMgrGetDevInfo(char *dev, uint64_t *max_size, uint64_t *free_size);
+int sceAppMgrGetDevInfo(const char *dev, uint64_t *max_size, uint64_t *free_size);
/**
* Mount application data (PSPEmu)
@@ -389,7 +389,7 @@ int sceAppMgrGetDevInfo(char *dev, uint64_t *max_size, uint64_t *free_size);
*
* @note id: 400 (ad), 401 (ad), 402 (ad)
*/
-int sceAppMgrMmsMount(int id, char *mount_point);
+int sceAppMgrMmsMount(int id, const char *mount_point);
/**
* Mount PSPEmu virtual memory stick
@@ -400,7 +400,7 @@ int sceAppMgrMmsMount(int id, char *mount_point);
*
* @note mount_point: ms
*/
-int sceAppMgrPspSaveDataRootMount(char *mount_point);
+int sceAppMgrPspSaveDataRootMount(const char *mount_point);
/**
* Mount working directory
@@ -412,7 +412,7 @@ int sceAppMgrPspSaveDataRootMount(char *mount_point);
*
* @note id: 200 (td), 201 (td), 203 (td), 204 (td), 206 (td)
*/
-int sceAppMgrWorkDirMount(int id, char *mount_point);
+int sceAppMgrWorkDirMount(int id, const char *mount_point);
/**
* Mount working directory by Title ID
@@ -425,7 +425,7 @@ int sceAppMgrWorkDirMount(int id, char *mount_point);
*
* @note id: 205 (cache0), 207 (td)
*/
-int sceAppMgrWorkDirMountById(int id, char *titleid, char *mount_point);
+int sceAppMgrWorkDirMountById(int id, const char *titleid, const char *mount_point);
/**
* Unmount a mountpoint