Wasabi ExpressPlay SDK for iOS  1.10
ShiTypes.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Sushi - Common Types
4 |
5 | $Id: ShiTypes.h 7930 2014-06-25 11:05:10Z jebaseelir $
6 | Original author: Sylvain Rebaud
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) 2006-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
21 #ifndef _SHI_TYPES_H_
22 #define _SHI_TYPES_H_
23 
24 /*----------------------------------------------------------------------
25 | generic types
26 +---------------------------------------------------------------------*/
27 typedef unsigned int SHI_UInt32;
28 typedef signed int SHI_Int32;
29 typedef unsigned short SHI_UInt16;
30 typedef signed short SHI_Int16;
31 typedef unsigned char SHI_UInt8;
32 typedef signed char SHI_Int8;
33 typedef float SHI_Float;
35 /*----------------------------------------------------------------------
36 | macros
37 +---------------------------------------------------------------------*/
38 #if !defined(NULL)
39 #if defined (__cplusplus)
40 #define NULL 0
41 #else
42 #define NULL ((void*) 0)
43 #endif
44 #endif
45 
46 /*----------------------------------------------------------------------
47 | support for shared object symbols
48 +---------------------------------------------------------------------*/
49 #if __GNUC__ >= 4
50 #define SHI_PUBLIC_API __attribute__ ((visibility ("default")))
51 #else
52 #define SHI_PUBLIC_API
53 #endif
54 
55 /*----------------------------------------------------------------------
56 | types
57 +---------------------------------------------------------------------*/
62 typedef enum {
63  SHI_FALSE = 0,
65 } SHI_Boolean;
66 
74 typedef int SHI_Result;
75 
85 
90 
96 
101 
107 
113 
119 
124 
128 typedef struct {
136 } SHI_DateTime;
137 
141 typedef struct {
142  const unsigned char* data;
144 } SHI_ByteArray;
145 
146 #endif /* _SHI_TYPES_H_ */