typedef int (*DRM_OEM_SAPPS_REGISTER_LICENSE) (const char *pRespBuf, unsigned int respBufLen);
typedef int (*DRM_OEM_SAPPS_IS_DRM_FILE) (const char *pDcfPath, int dcfPathLen);
typedef int (*DRM_OEM_SAPPS_DECRYPT_PACKAGE) (const char *pSADCFilepath, int sadcFileLen, const char *pDecryptedFile, int decryptedFileLen);
-typedef int (*DRM_OEM_SAPPS_IS_DRM_APP) (const char *pSzCid, int cidLen);
-typedef int (*DRM_OEM_SAPPS_UNINSTALL_LICENSE) (const char *szCid, int cidLen);
-typedef int (*DRM_OEM_SAPPS_GET_FILE_HEADER) (const char *pSADCFilepath, char *cid, unsigned int cidLength, char *riurl, unsigned int riurlLength);
typedef int (*DRM_OEM_SAPPS_GENERATE_PURCHASE_REQUEST) (const char *pSADCFilepath, char *pReqBuf, unsigned int *pReqBufLen, char *pLicenseUrl, unsigned int *pLicenseUrlLen);
-typedef int (*DRM_OEM_SAPPS_HAS_VALID_LICENSE) (const char *szCid);
-typedef int (*DRM_OEM_SAPPS_CONSUME_LICENSE) (const char *szCid);
/*Samsung Apps function start*/
typedef enum {
FUNC_DRM_OEM_SAPPS_REGISTER_LICENSE,
FUNC_DRM_OEM_SAPPS_IS_DRM_FILE,
FUNC_DRM_OEM_SAPPS_DECRYPT_PACKAGE,
- FUNC_DRM_OEM_SAPPS_IS_DRM_APP,
- FUNC_DRM_OEM_SAPPS_UNINSTALL_LICENSE,
- FUNC_DRM_OEM_SAPPS_GET_FILE_HEADER,
FUNC_DRM_OEM_SAPPS_GENERATE_PURCHASE_REQUEST,
- FUNC_DRM_OEM_SAPPS_HAS_VALID_LICENSE,
- FUNC_DRM_OEM_SAPPS_CONSUME_LICENSE,
FUNC_DRM_SAPPS_MAX
} drm_sapps_enum_t;
DRM_OEM_SAPPS_REGISTER_LICENSE drm_oem_sapps_register_license;
DRM_OEM_SAPPS_IS_DRM_FILE drm_oem_sapps_is_drm_file;
DRM_OEM_SAPPS_DECRYPT_PACKAGE drm_oem_sapps_decrypt_package;
- DRM_OEM_SAPPS_IS_DRM_APP drm_oem_sapps_is_drm_app;
- DRM_OEM_SAPPS_UNINSTALL_LICENSE drm_oem_sapps_uninstall_license;
- DRM_OEM_SAPPS_GET_FILE_HEADER drm_oem_sapps_get_file_header;
DRM_OEM_SAPPS_GENERATE_PURCHASE_REQUEST drm_oem_sapps_generate_purchase_request;
- DRM_OEM_SAPPS_HAS_VALID_LICENSE drm_oem_sapps_has_valid_license;
- DRM_OEM_SAPPS_CONSUME_LICENSE drm_oem_sapps_consume_license;
} drm_sapps_func_t;
#endif
"drm_oem_sapps_register_license",
"drm_oem_sapps_is_drm_file",
"drm_oem_sapps_decrypt_package",
- "drm_oem_sapps_is_drm_app",
- "drm_oem_sapps_uninstall_license",
- "drm_oem_sapps_get_file_header",
"drm_oem_sapps_generate_purchase_request",
- "drm_oem_sapps_has_valid_license",
- "drm_oem_sapps_consume_license",
"\0"
};