Wasabi ExpressPlay SDK for Embedded Systems
1.10
Main Page
Modules
Data Structures
Files
File List
Globals
Client
Source
Interface
Extended
WsbMs3Client.h
Go to the documentation of this file.
1
/*****************************************************************
2
|
3
| Wasabi - MS3 Client API
4
|
5
| $Id: WsbMs3Client.h 10793 2014-06-25 12:46:08Z jebaseelir $
6
| Original author: Eric Swenson
7
|
8
| This software is provided to you pursuant to your agreement
9
| with Intertrust Technologies Corporation ("Intertrust").
10
| This software may be used only in accordance with the terms
11
| of the agreement.
12
|
13
| Copyright (c) 2009-2014 by Intertrust. All rights reserved.
14
|
15
****************************************************************/
21
#ifndef _WSB_MS3_CLIENT_H_
22
#define _WSB_MS3_CLIENT_H_
23
24
/*----------------------------------------------------------------------
25
| includes
26
+---------------------------------------------------------------------*/
27
#include "
ShiData.h
"
28
#include "
WsbTypes.h
"
29
#include "
WsbMs3Sas.h
"
30
31
/*----------------------------------------------------------------------
32
| interfaces
33
+---------------------------------------------------------------------*/
34
#if defined(__cplusplus)
35
extern
"C"
{
36
#endif
37
47
typedef
struct
WSB_Ms3Client
WSB_Ms3Client
;
48
63
WSB_EXPORT
WSB_Result
64
WSB_Ms3Client_CheckForMs3Url
(
const
char
* url);
65
72
WSB_EXPORT
WSB_Result
73
WSB_Ms3Client_Create
(
WSB_Ms3Client
** client);
74
83
WSB_EXPORT
WSB_Result
84
WSB_Ms3Client_SetAcceptSelfSignedCerts
(
WSB_Ms3Client
* client,
WSB_Boolean
state);
85
94
WSB_EXPORT
WSB_Result
95
WSB_Ms3Client_SetAcceptCertHostnameMismatch
(
WSB_Ms3Client
* client,
WSB_Boolean
state);
96
113
WSB_EXPORT
WSB_Result
114
WSB_Ms3Client_GetSas
(
WSB_Ms3Client
* client,
115
const
char
* url,
116
WSB_Ms3Sas
** sas,
117
WSB_UInt32
* http_result_code,
118
SHI_Data
** content_url);
119
120
136
WSB_EXPORT
WSB_Result
137
WSB_Ms3Client_GetSasFromSad
(
WSB_Ms3Client
* client,
138
const
char
* sad,
139
WSB_Size
sad_size,
140
WSB_Ms3Sas
** sas,
141
WSB_UInt32
* http_result_code,
142
SHI_Data
** content_url);
143
149
WSB_EXPORT
WSB_Result
150
WSB_Ms3Client_Destroy
(
WSB_Ms3Client
* client);
151
154
#if defined(__cplusplus)
155
}
156
#endif
157
158
#endif
/* _WSB_MS3_CLIENT_H_ */