Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
WsbActionResultConstraint.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Wasabi - Action Result Constraint API
4 |
5 | $Id: WsbActionResultConstraint.h 12695 2016-10-28 22:10:37Z 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) 2009-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
20 #ifndef _WSB_ACTION_RESULT_CONSTRAINT_H_
21 #define _WSB_ACTION_RESULT_CONSTRAINT_H_
22 
23 /*----------------------------------------------------------------------
24 | includes
25 +---------------------------------------------------------------------*/
26 #include "ShiData.h"
27 #include "WsbTypes.h"
28 
29 /*----------------------------------------------------------------------
30 | constants
31 +---------------------------------------------------------------------*/
32 #define WSB_ACTION_RESULT_CONSTRAINT_TYPE_UNKNOWN 0
33 #define WSB_ACTION_RESULT_CONSTRAINT_TYPE_DO_NOT_STORE 1
34 #define WSB_ACTION_RESULT_CONSTRAINT_TYPE_OUTPUT_CONTROL 2
35 #define WSB_ACTION_RESULT_CONSTRAINT_TYPE_METERING 3
36 #define WSB_ACTION_RESULT_CONSTRAINT_TYPE_CRYPTO_FIREWALL 4
37 
38 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_TECHNOLOGY_UNKNOWN 0
39 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_TECHNOLOGY_BASIC_CCI 1
40 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_TECHNOLOGY_DTCP 2
41 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_TECHNOLOGY_SECURE_CONTENT_PATH 100
42 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_TECHNOLOGY_HDCP 101
43 
44 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_UNKNOWN 0
45 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_EPN 1
46 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_CCI 2
47 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_IMAGE_CONSTRAINT_TOKEN 3
48 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_DIGITAL_ONLY_TOKEN 4
49 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_APS 5
50 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_RETENTION_MOVE_MODE 6
51 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_RETENTION_STATE 7
52 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_DEFAULT_SECURITY_CLASS 8
53 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_SECURITY_CLASS 9
54 #define WSB_ACTION_RESULT_CONSTRAINT_OUTPUT_CONTROL_PARAM_SRM 10
55 
56 /*----------------------------------------------------------------------
57 | interfaces
58 +---------------------------------------------------------------------*/
59 #if defined(__cplusplus)
60 extern "C" {
61 #endif
62 
73 
79 
87 WSB_EXPORT WSB_UInt32
89 
99 WSB_EXPORT WSB_Boolean
101 
111 
121 WSB_EXPORT WSB_UInt32
123 
133 WSB_EXPORT WSB_UInt32
135 
149 WSB_EXPORT WSB_UInt32
151 
157 WSB_EXPORT WSB_Result
159 
162 #if defined(__cplusplus)
163 }
164 #endif
165 
166 #endif /* _WSB_ACTION_RESULT_CONSTRAINT_H_ */
struct WSB_ActionResultConstraint WSB_ActionResultConstraint
A WSB_ActionResultConstraint object represents a single constraint associated with a SHI_ActionResult...
Definition: WsbActionResultConstraint.h:72
WSB_EXPORT WSB_UInt32 WSB_ActionResultOutputControlConstraint_GetParameter(WSB_ActionResultOutputControlConstraint *constraint)
Returns the parameter type associated with the specified output control constraint.
WSB_Boolean
Boolean type used for variables that can be true (WSB_TRUE) or false (WSB_FALSE). ...
Definition: WsbTypes.h:71
WSB_EXPORT WSB_UInt32 WSB_ActionResultOutputControlConstraint_GetTechnology(WSB_ActionResultOutputControlConstraint *constraint)
Returns the technology type associated with the specified output control constraint.
WSB_EXPORT WSB_Boolean WSB_ActionResultConstraint_IsMandatory(WSB_ActionResultConstraint *constraint)
Returns a boolean indicating whether the constraint is mandatory.
int WSB_Result
Signed integer value representing a function or method result (return value).
Definition: WsbTypes.h:83
WSB_EXPORT WSB_UInt32 WSB_ActionResultConstraint_GetType(WSB_ActionResultConstraint *constraint)
Returns the type of the constraint.
WSB_EXPORT WSB_ActionResultOutputControlConstraint * WSB_ActionResultConstraint_GetAsOutputControlConstraint(WSB_ActionResultConstraint *constraint)
For constraints of type WSB_ACTION_RESULT_CONSTRAINT_TYPE_OUTPUT_CONTROL, returns a pointer to a WSB_...
unsigned int WSB_UInt32
32-bit (or more) unsigned integer
Definition: WsbTypes.h:36
WSB_EXPORT WSB_Result WSB_ActionResultConstraint_Destroy(WSB_ActionResultConstraint *constraint)
Destroys the WSB_ActionResultConstraint object.
struct WSB_ActionResultOutputControlConstraint WSB_ActionResultOutputControlConstraint
A WSB_ActionResultOutputControlConstraint object represents a single output control constraint associ...
Definition: WsbActionResultConstraint.h:78
Wasabi Result.
Generic Data Objects.
WSB_EXPORT WSB_UInt32 WSB_ActionResultOutputControlConstraint_GetValue(WSB_ActionResultOutputControlConstraint *constraint)
Returns the integer value associated with the technology and parameter in the specified output contro...