21 #ifndef _WSB_MS3_CLIENT_H_ 22 #define _WSB_MS3_CLIENT_H_ 34 #if defined(__cplusplus) 164 #if defined(__cplusplus) WSB_EXPORT WSB_Result WSB_Ms3Client_Create(WSB_Ms3Client **client)
Creates a WSB_Ms3Client object.
WSB_EXPORT WSB_Result WSB_Ms3Client_GetSas(WSB_Ms3Client *client, const char *url, WSB_Ms3Sas **sas, WSB_UInt32 *http_result_code, SHI_Data **content_url)
Retrieves an MS3 SAS from the MS3 server specified by URL.
WSB_EXPORT WSB_Result WSB_Ms3Client_Destroy(WSB_Ms3Client *client)
Destroys a WSB_Ms3Client object.
WSB_Boolean
Boolean type used for variables that can be true (WSB_TRUE) or false (WSB_FALSE). ...
Definition: WsbTypes.h:71
WSB_EXPORT WSB_Result WSB_Ms3Client_SetAcceptCertHostnameMismatch(WSB_Ms3Client *client, WSB_Boolean state)
Configures the MS3 client to accept or reject certificates from the MS3 server whose hostname doesn't...
WSB_UInt32 WSB_Flags
Type used to represent a bit pattern signifying a combination of flags that can be on or off...
Definition: WsbTypes.h:93
struct WSB_Ms3Sas WSB_Ms3Sas
A WSB_Ms3Sas object provides an interface to manipulate an MS3 SAS.
Definition: WsbMs3Sas.h:47
WSB_EXPORT WSB_Result WSB_Ms3Client_SetAcceptSelfSignedCerts(WSB_Ms3Client *client, WSB_Boolean state)
Configures the MS3 client to accept or reject self-signed certificates from the MS3 server...
WSB_EXPORT WSB_Result WSB_Ms3Client_GetSasFromSad(WSB_Ms3Client *client, const char *sad, WSB_Size sad_size, WSB_Ms3Sas **sas, WSB_UInt32 *http_result_code, SHI_Data **content_url)
Retrieves an MS3 SAS from the MS3 server specified by a SAD document.
WSB_EXPORT WSB_Result WSB_Ms3Client_CheckForMs3Url(const char *url)
Performs a check of the supplied URL and indicates whether the URL is likely an MS3 URL...
int WSB_Result
Signed integer value representing a function or method result (return value).
Definition: WsbTypes.h:83
unsigned int WSB_UInt32
32-bit (or more) unsigned integer
Definition: WsbTypes.h:36
WSB_EXPORT WSB_Result WSB_Ms3Client_SetTransformMedia(WSB_Ms3Client *client, WSB_Flags state)
Configures the MS3 client to add extra HTTP header during MS3 SAS retrieval for the purpose of transf...
struct SHI_Data SHI_Data
A SHI_Data object represents a typed data object.
Definition: EmbProcessor.h:231
struct WSB_Ms3Client WSB_Ms3Client
A WSB_Ms3Client object provides an interface to acquire MS3 rights from an MS3 server.
Definition: WsbMs3Client.h:47
WSB_UInt32 WSB_Size
An unsigned integer used to represent a measurable quantity (e.g., the size of a file).
Definition: WsbTypes.h:104