Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
WsbConfigActionResultValidator.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Wasabi - Action Result Validator
4 |
5 | $Id: WsbConfigActionResultValidator.h 12693 2016-10-28 21:43:45Z hwa $
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) 2010-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
21 #ifndef _WSB_CONFIG_ACTION_RESULT_VALIDATOR_H_
22 #define _WSB_CONFIG_ACTION_RESULT_VALIDATOR_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "WsbTypes.h"
28 #include "Sushi.h"
29 
30 /*----------------------------------------------------------------------
31 | prototypes
32 +---------------------------------------------------------------------*/
33 
34 #if defined(__cplusplus)
35 extern "C" {
36 #endif
37 
84 WSB_EXPORT WSB_Result
86  WSB_Boolean perform,
87  const char* action_name,
88  const void* action_parameters);
89 
112 WSB_EXPORT WSB_Result
114 
147 WSB_EXPORT WSB_Result
148 WSB_Config_ValidateHdcpSrmUpdate(const WSB_Byte* srm_payload,
149  WSB_Size size_in_bytes);
150 
153 #if defined(__cplusplus)
154 }
155 #endif
156 
157 #endif /* _WSB_CONFIG_ACTION_RESULT_VALIDATOR_H_ */
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_Config_ValidateHdcpSrmVersion(WSB_UInt32 version_required)
User must implement this callback function to compare the HDCP-SRM version in the device with the req...
int WSB_Result
Signed integer value representing a function or method result (return value).
Definition: WsbTypes.h:83
WSB_EXPORT WSB_Result WSB_Config_ValidateActionResult(SHI_ActionResult *action_result, WSB_Boolean perform, const char *action_name, const void *action_parameters)
This method should be called between WSB_PlaybackEnabler_PerformPlayAction and WSB_PlaybackEnabler_Ac...
WSB_UInt8 WSB_Byte
An 8-bit byte.
Definition: WsbTypes.h:132
unsigned int WSB_UInt32
32-bit (or more) unsigned integer
Definition: WsbTypes.h:36
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_Config_ValidateHdcpSrmUpdate(const WSB_Byte *srm_payload, WSB_Size size_in_bytes)
User must implement this callback function to persistently store the HDCP-SRM and use it as part of i...
Wasabi Result.
WSB_UInt32 WSB_Size
An unsigned integer used to represent a measurable quantity (e.g., the size of a file).
Definition: WsbTypes.h:104