CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLCm_Types.h
Go to the documentation of this file.
1 //*********************************************************
2 // File: CLCm_Types.h
3 // Project: CopperLan CHAILink SDK Common Part
4 // For Client & Server
5 // Version: 1.3
6 // Release Date: 2014/04/15
7 //*********************************************************
8 
9 /********************************************************************
10 Software License Agreement: CHAILink Client source code
11 
12 The software supplied herewith by Klavis Technology (the “Company”) is intended and
13 supplied to you, the Company’s customer, for use solely and exclusively on embedded
14 CopperLan products needing a CHAILink Client.
15  The software is owned by the Company and/or its supplier, and is protected
16  under applicable copyright laws. All rights are reserved. Any use in violation of the
17  foregoing restrictions may subject the user to criminal sanctions under applicable laws,
18 as well as to civil liability for the breach of the terms and conditions of this license.
19 
20 THIS SOFTWARE MUST REMAIN UNMODIFIED. NO WARRANTIES, WHETHER EXPRESS,
21  IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
22  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE
23 IN CASE OF SOURCE CODE CHANGE BY THE CUSTOMER. IN CASE OF SUCH CHANGE, THE
24 COMPANY SHALL NOT BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
25 OF ANY KIND.
26 ********************************************************************/
27 
28 #ifndef __CLCM_TYPES_H__
29 #define __CLCM_TYPES_H__
30 
31 #include "PlatformTypes.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 #ifndef TRUE
39 #define TRUE 1
40 #endif
41 
42 #ifndef FALSE
43 #define FALSE 0
44 #endif
45 
46 #ifndef NULL
47 #define NULL 0
48 #endif
49 
50 #define CPHOOKEDOBJECT_NULL ((CPHOOKEDOBJECT)0)
51 #define CPHOBJECT_NULL ((CPHOBJECT)0)
52 #define CPHASYNC_NULL ((CPHOBJECT)0)
53 
54 //=========================================================================
55 // Specific CopperLan Data types
56 //=========================================================================
59 typedef CPUINT32 CPHASYNC;
60 typedef CPUINT16 CPBPM16;
63 
64 #include "CLCm_Platform.h"
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif // __CLCM_TYPES_H__
CPUINT32 CPHOOKEDOBJECT
Handle on Hooked Object.
Definition: CLCm_Types.h:58
CPUINT32 SongPosition
Song Position definition as unsigned 32 bit integer.
Definition: CLCm_Types.h:61
CPUINT32 CPHASYNC
Handle on Async handler.
Definition: CLCm_Types.h:59
CPUINT64 SystemTime
System Time definition as unsigned 64 bit integer.
Definition: CLCm_Types.h:62
CPUINT16 CPBPM16
BPM16 definition as unsigned 16 bit integer.
Definition: CLCm_Types.h:60
unsigned short CPUINT16
Word Integer (16 bit unsigned)
Definition: PlatformTypes.h:45
unsigned long CPUINT32
Double Word Integer (32 bit unsigned)
Definition: PlatformTypes.h:48
CPUINT32 CPHOBJECT
Handle on Object.
Definition: CLCm_Types.h:57
unsigned long long CPUINT64
Quad Word Integer (64 bit unsigned)
Definition: PlatformTypes.h:51