21 #ifndef _WSB_MS3_SAS_H_ 22 #define _WSB_MS3_SAS_H_ 35 #if defined(__cplusplus) 93 const char* content_id,
95 const void* format_parameters,
108 const char* content_id);
134 #if defined(__cplusplus) SHI_ContentKeyFormat
Format indenfifier for content keys.
Definition: ShiLicense.h:73
WSB_EXPORT WSB_Result WSB_Ms3Sas_AcceptActionResult(WSB_Ms3Sas *sas)
Accepts the SHI_ActionResult associated with an MS3 SAS.
WSB_EXPORT WSB_Result WSB_Ms3Sas_GetContentKey(WSB_Ms3Sas *sas, const char *content_id, SHI_ContentKeyFormat format, const void *format_parameters, SHI_Data **data)
Retrieves a content key from an MS3 SAS.
WSB_Boolean
Boolean type used for variables that can be true (WSB_TRUE) or false (WSB_FALSE). ...
Definition: WsbTypes.h:71
struct WSB_Ms3Sas WSB_Ms3Sas
A WSB_Ms3Sas object provides an interface to manipulate an MS3 SAS.
Definition: WsbMs3Sas.h:47
WSB_EXPORT WSB_Boolean WSB_Ms3Sas_HasContentId(WSB_Ms3Sas *sas, const char *content_id)
Checks that a given content id is indeed present in the MS3 SAS.
WSB_EXPORT WSB_Result WSB_Ms3Sas_GetActionResult(WSB_Ms3Sas *sas, SHI_ActionResult **action_result)
Creates a SHI_ActionResult representing the rights expressed in an MS3 SAS.
int WSB_Result
Signed integer value representing a function or method result (return value).
Definition: WsbTypes.h:83
struct SHI_Data SHI_Data
A SHI_Data object represents a typed data object.
Definition: EmbProcessor.h:231
struct SHI_ActionResult SHI_ActionResult
A SHI_ActionResult object represents the result returned by several different SHI_Action methods...
Definition: ShiAction.h:444
WSB_EXPORT WSB_Result WSB_Ms3Sas_ToString(WSB_Ms3Sas *sas, SHI_Data **data)
Returns a string representation of the contents of the MS3 SAS.
WSB_EXPORT WSB_Result WSB_Ms3Sas_Destroy(WSB_Ms3Sas *sas)
Destroys a WSB_Ms3Sas object.