Wasabi ExpressPlay SDK for Desktop Systems  1.10
WsbTypes.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | Wasabi - Types
4 |
5 | $Id: WsbTypes.h 10793 2014-06-25 12:46:08Z jebaseelir $
6 | Original author: Julien Boeuf
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) 2003-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
21  #ifndef _WSB_TYPES_H_
22  #define _WSB_TYPES_H_
23 
24 /*----------------------------------------------------------------------
25 | includes
26 +---------------------------------------------------------------------*/
27 #include "WsbConfig.h"
28 
29 /*----------------------------------------------------------------------
30 | generic types
31 +---------------------------------------------------------------------*/
36 typedef unsigned int WSB_UInt32;
37 typedef signed int WSB_Int32;
38 typedef unsigned short WSB_UInt16;
39 typedef signed short WSB_Int16;
40 typedef unsigned char WSB_UInt8;
41 typedef signed char WSB_Int8;
42 typedef float WSB_Float;
44 /* 64-bit types */
45 #if !defined(WSB_CONFIG_HAVE_INT64)
46 #error "64 bit types are not supported on this target"
47 #endif
48 typedef WSB_CONFIG_INT64_TYPE WSB_Int64;
49 typedef unsigned WSB_CONFIG_INT64_TYPE WSB_UInt64;
50 typedef unsigned WSB_CONFIG_INT64_TYPE WSB_LargeSize;
51 typedef unsigned WSB_CONFIG_INT64_TYPE WSB_Position;
52 
53 /*----------------------------------------------------------------------
54 | macros
55 +---------------------------------------------------------------------*/
56 #if !defined(NULL)
57 #if defined (__cplusplus)
58 #define NULL 0
59 #else
60 #define NULL ((void*) 0)
61 #endif
62 #endif
63 
64 /*----------------------------------------------------------------------
65 | types
66 +---------------------------------------------------------------------*/
71 typedef enum {
72  WSB_FALSE = 0,
74 } WSB_Boolean;
75 
83 typedef int WSB_Result;
84 
94 
99 
105 
110 
116 
122 
128 
133 
137 typedef struct {
145 } WSB_DateTime;
146 
150 typedef struct {
155 } WSB_TimeCode;
156 
157 typedef struct {
161 
162 typedef struct {
172  /* WSB_CString data_type; */
174 
178 typedef struct {
179  const unsigned char* data;
181 } WSB_ByteArray;
182 
185 #endif /* _WSB_TYPES_H_ */