Wasabi ExpressPlay SDK for iOS  1.23.0
WsbComponents.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Wasabi - Components
4 |
5 | $Id: WsbComponents.h 13301 2017-09-05 23:52:46Z 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_COMPONENTS_H_
22 #define _WSB_COMPONENTS_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "WsbTypes.h"
28 
35 /*----------------------------------------------------------------------
36 | types
37 +---------------------------------------------------------------------*/
41 typedef struct {
42  const char* name;
44  const char* version_name;
45  const char* build_date;
46  const char* short_description;
47  const char* long_description;
49 
50 /*----------------------------------------------------------------------
51 | constants
52 +---------------------------------------------------------------------*/
56 #define WSB_COMPONENT_NAME_WASABI "Wasabi"
57 #define WSB_COMPONENT_NAME_SUSHI "Sushi"
58 #define WSB_COMPONENT_NAME_PLAYLIST_PROXY "PlaylistProxy"
59 
62 #define WSB_COMPONENT_NAME_DRMDB0 "DrmDb0"
63 
66 #define WSB_COMPONENT_NAME_LSDB "LsDb"
67 
72 #define WSB_COMPONENT_NAME_MDDB "MdDb"
73 
74 /*----------------------------------------------------------------------
75 | functions
76 +---------------------------------------------------------------------*/
77 #if defined(__cplusplus)
78 extern "C" {
79 #endif
80 
89 WSB_EXPORT WSB_Result
90 WSB_GetComponentInfo(const char* name, WSB_ComponentInfo* info);
91 
92 #if defined(__cplusplus)
93 }
94 #endif
95 
98 #endif /* _WSB_COMPONENTS_H_ */
const char * name
Definition: WsbComponents.h:42
const char * build_date
Definition: WsbComponents.h:45
WSB_UInt32 version_number
Definition: WsbComponents.h:43
const char * version_name
Definition: WsbComponents.h:44
WSB_EXPORT WSB_Result WSB_GetComponentInfo(const char *name, WSB_ComponentInfo *info)
Obtains information about a component of the client SDK.
const char * short_description
Definition: WsbComponents.h:46
const char * long_description
Definition: WsbComponents.h:47
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
Information that may be obtained about a component.
Definition: WsbComponents.h:41
Wasabi Result.