Wasabi ExpressPlay SDK for Embedded Systems  1.10
ShiService.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Sushi - Broadband Services
4 |
5 | $Id: ShiService.h 7930 2014-06-25 11:05:10Z jebaseelir $
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) 2005-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
21 #ifndef _SHI_SERVICE_H_
22 #define _SHI_SERVICE_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "ShiResults.h"
28 #include "ShiTypes.h"
29 #include "ShiInterfaces.h"
30 #include "ShiAttributes.h"
31 #include "ShiData.h"
32 
33 /*----------------------------------------------------------------------
34 | types
35 +---------------------------------------------------------------------*/
39 typedef struct {
40  const char* name;
41  const char* uid;
43 
47 typedef struct {
48  const char* name;
49  const char* uid;
50  SHI_Boolean is_device_registered;
53 
57 typedef struct {
58  const char* name;
59  const char* uid;
61  SHI_DateTime expiration;
65  SHI_Data* renewal_uri_template;
69 
70 /*----------------------------------------------------------------------
71 | interfaces
72 +---------------------------------------------------------------------*/
73 #if defined(__cplusplus)
74 extern "C" {
75 #endif
76 
85 typedef struct SHI_Service SHI_Service;
86 
98 void*
100 
112 
121 SHI_Result
123 
139 
151 
163 void*
165 
175 SHI_Result
177 
186 SHI_Result
188 
204 
216 
228 void*
230 
240 SHI_Result
242 
251 SHI_Result
253 
269 
272 #if defined (__cplusplus)
273 }
274 #endif
275 
276 #endif /* _SHI_SERVICE_H_ */