Wasabi ExpressPlay SDK for iOS  1.10
WsbRuntime.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Wasabi - Runtime
4 |
5 | $Id: WsbRuntime.h 11002 2014-09-16 23:16:23Z ehodzic $
6 | Original author: Gilles Boccon-Gibod
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) 2008-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
21 #ifndef _WSB_RUNTIME_H_
22 #define _WSB_RUNTIME_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "WsbTypes.h"
28 #include "ShiData.h"
29 
30 /*----------------------------------------------------------------------
31 | prototypes
32 +---------------------------------------------------------------------*/
33 struct SHI_Engine;
34 
35 /*----------------------------------------------------------------------
36 | functions
37 +---------------------------------------------------------------------*/
38 #if defined(__cplusplus)
39 extern "C" {
40 #endif
41 
59 WSB_EXPORT WSB_Result
60 WSB_Runtime_InitializeEx(const char* db_name_param);
61 
70 WSB_EXPORT WSB_Result
72 
80 WSB_EXPORT WSB_Boolean
82 
88 WSB_EXPORT WSB_Result
90 
95 WSB_EXPORT WSB_Boolean
97 
107 WSB_EXPORT WSB_Result
108 WSB_Runtime_Personalize(const char* token, WSB_Size token_length);
109 
123 WSB_EXPORT WSB_Result
124 WSB_Runtime_ProcessServiceToken(const char* token, WSB_Size token_length);
125 
142 WSB_EXPORT WSB_Result
143 WSB_Runtime_CheckLicense(const char* content_id);
144 
151 #define WSB_PROPERTY_NAME_MS3_ACCEPT_SELF_SIGNED_CERTS \
152  "WASABI_MS3_ACCEPT_SELF_SIGNED_CERTS"
153 
159 #define WSB_PROPERTY_NAME_MS3_ACCEPT_HOSTNAME_MISMATCH \
160  "WASABI_MS3_ACCEPT_HOSTNAME_MISMATCH"
161 
168 #define WSB_PROPERTY_NAME_STORAGE_DIRECTORY \
169  "WASABI_PROPERTY_STORAGE_DIRECTORY"
170 
185 #define WSB_PROPERTY_NAME_PROXY_DASH_CONTENT_LENGTH \
186  "WASABI_PROPERTY_PROXY_DASH_CONTENT_LENGTH"
187 
198 #define WSB_PROPERTY_NAME_ROOTED_OK \
199  "WASABI_PROPERTY_ROOTED_OK"
200 
214 WSB_EXPORT WSB_Result
215 WSB_Runtime_GetProperty(const char* name,
216  SHI_DataType type,
217  SHI_Data** value);
218 
232 WSB_EXPORT WSB_Result
233 WSB_Runtime_SetProperty(const char* name,
234  SHI_DataType type,
235  const SHI_DataValue* value);
236 
238 #if defined(__cplusplus)
239 }
240 #endif
241 
242 #endif /* _WSB_RUNTIME_H_ */