summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorReiko Asakura2021-03-12 16:19:42 -0500
committerReiko Asakura2021-03-12 16:19:42 -0500
commit25b0f5581b6d1cfc38e898af1d968a49e277e715 (patch)
tree1e02b3519523a6f3e5fcb96c7a5185478fd6672d /include/common
parentRemove unused definitions in common/appmgr.h (diff)
downloadvds-libraries-25b0f5581b6d1cfc38e898af1d968a49e277e715.tar.gz
Refactor structs in common/appmgr.h
sceAppMgrDrm{Open,Close} has been moved to the common header because they are also available as user functions.
Diffstat (limited to 'include/common')
-rw-r--r--include/common/appmgr.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/include/common/appmgr.h b/include/common/appmgr.h
index 0d83089..ce49a80 100644
--- a/include/common/appmgr.h
+++ b/include/common/appmgr.h
@@ -7,29 +7,28 @@
#include_next <appmgr.h>
+#include <apputil.h>
+
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
extern "C" {
#endif
-#define SCE_APPMGR_MOUNTPOINT_DATA_MAXSIZE 16
-
-#define SCE_APPMGR_NP_DRM_ADDCONT_ID_SIZE 17
-
-typedef struct SceAppMgrMountPoint {
- SceChar8 data[SCE_APPMGR_MOUNTPOINT_DATA_MAXSIZE];
-} SceAppMgrMountPoint;
-
-typedef struct SceAppMgrDrmAddcontId {
- SceChar8 data[SCE_APPMGR_NP_DRM_ADDCONT_ID_SIZE];
- SceChar8 padding[3];
-} SceAppMgrDrmAddcontId;
+/*J 構造体 -------------------------------------------------------------------------------- */
+/*E Structures ---------------------------------------------------------------------------- */
typedef struct SceAppMgrDrmAddcontParam {
SceSize size;
- SceAppMgrDrmAddcontId dirName;
- SceAppMgrMountPoint mountPoint;
+ SceAppUtilDrmAddcontId dirName;
+ SceAppUtilMountPoint mountPoint;
} SceAppMgrDrmAddcontParam;
+/*J 関数 -------------------------------------------------------------------------------- */
+/*E Functions --------------------------------------------------------------------------- */
+
+SceInt32 sceAppMgrDrmOpen(const SceAppMgrDrmAddcontParam *pParam);
+
+SceInt32 sceAppMgrDrmClose(const SceAppMgrDrmAddcontParam *pParam);
+
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
}
#endif