diff options
author | Reiko Asakura | 2021-03-12 16:19:42 -0500 |
---|---|---|
committer | Reiko Asakura | 2021-03-12 16:19:42 -0500 |
commit | 25b0f5581b6d1cfc38e898af1d968a49e277e715 (patch) | |
tree | 1e02b3519523a6f3e5fcb96c7a5185478fd6672d /include/common/appmgr.h | |
parent | Remove unused definitions in common/appmgr.h (diff) | |
download | vds-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/appmgr.h')
-rw-r--r-- | include/common/appmgr.h | 27 |
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 |