| Rev | Line | |
|---|
| [2] | 1 | /**************************************************************************** |
|---|
| 2 | * Copyright (c) 2004 Digital Stream Technologies Inc. All Rights Reserved. |
|---|
| 3 | * |
|---|
| 4 | * Module: dsthalfe.h |
|---|
| 5 | * Author: Jun-ku Park, hwatk@dstreamtech.com |
|---|
| 6 | * Description: DST HAL Common Header File |
|---|
| 7 | * |
|---|
| 8 | * |
|---|
| 9 | * notes: hwatk20040602 |
|---|
| 10 | * |
|---|
| 11 | ***************************************************************************/ |
|---|
| 12 | |
|---|
| 13 | #ifndef __DST_HAL_LOCAL_H__ |
|---|
| 14 | #define __DST_HAL_LOCAL_H__ |
|---|
| 15 | |
|---|
| 16 | #ifndef DS_U16 |
|---|
| 17 | typedef unsigned short DS_U16; |
|---|
| 18 | #endif |
|---|
| 19 | |
|---|
| 20 | #if !defined DS_S16 |
|---|
| 21 | typedef short DS_S16; |
|---|
| 22 | #endif |
|---|
| 23 | |
|---|
| 24 | #ifndef DS_U8 |
|---|
| 25 | typedef unsigned char DS_U8; |
|---|
| 26 | #endif |
|---|
| 27 | |
|---|
| 28 | #ifndef DS_S8 |
|---|
| 29 | typedef char DS_S8; |
|---|
| 30 | #endif |
|---|
| 31 | |
|---|
| 32 | #if !defined DS_S32 |
|---|
| 33 | typedef long DS_S32; |
|---|
| 34 | #endif |
|---|
| 35 | |
|---|
| 36 | #ifndef DS_U32 |
|---|
| 37 | typedef unsigned long DS_U32; |
|---|
| 38 | #endif |
|---|
| 39 | |
|---|
| 40 | #ifndef DS_S64 |
|---|
| 41 | typedef long long int app_int64; |
|---|
| 42 | #define DS_S64 app_int64 |
|---|
| 43 | #endif |
|---|
| 44 | |
|---|
| 45 | #ifndef DS_U64 |
|---|
| 46 | typedef unsigned long long int app_uint64; |
|---|
| 47 | #define DS_U64 app_uint64 |
|---|
| 48 | #endif |
|---|
| 49 | |
|---|
| 50 | #ifndef DS_BOOL |
|---|
| 51 | typedef unsigned char app_bool; |
|---|
| 52 | #define DS_BOOL app_bool |
|---|
| 53 | #endif |
|---|
| 54 | |
|---|
| 55 | #ifndef __uint32_t_defined |
|---|
| 56 | #define uint32_t DS_U32 |
|---|
| 57 | #define __uint32_t_defined |
|---|
| 58 | #endif |
|---|
| 59 | |
|---|
| 60 | #ifndef NULL |
|---|
| 61 | #define NULL 0 |
|---|
| 62 | #endif |
|---|
| 63 | |
|---|
| 64 | #ifndef _TRUE_ |
|---|
| 65 | #define _TRUE_ 1 |
|---|
| 66 | #endif |
|---|
| 67 | |
|---|
| 68 | #ifndef _FALSE_ |
|---|
| 69 | #define _FALSE_ 0 |
|---|
| 70 | #endif |
|---|
| 71 | |
|---|
| 72 | #ifndef DS_TRUE |
|---|
| 73 | #define DS_TRUE 1 |
|---|
| 74 | #endif |
|---|
| 75 | |
|---|
| 76 | #ifndef DS_FALSE |
|---|
| 77 | #define DS_FALSE 0 |
|---|
| 78 | #endif |
|---|
| 79 | |
|---|
| 80 | #ifndef CALLBACK |
|---|
| 81 | #define CALLBACK |
|---|
| 82 | #endif |
|---|
| 83 | |
|---|
| 84 | #ifndef DS_PUBLIC |
|---|
| 85 | #define DS_PUBLIC |
|---|
| 86 | #endif |
|---|
| 87 | |
|---|
| 88 | #ifndef DS_PRIVATE |
|---|
| 89 | #define DS_PRIVATE |
|---|
| 90 | #endif |
|---|
| 91 | |
|---|
| 92 | #define DHL_ERROR(x) (x!=DHL_OK) |
|---|
| 93 | |
|---|
| 94 | #ifdef __cplusplus |
|---|
| 95 | extern "C" { |
|---|
| 96 | #endif |
|---|
| 97 | |
|---|
| 98 | |
|---|
| 99 | #ifdef __cplusplus |
|---|
| 100 | } |
|---|
| 101 | #endif |
|---|
| 102 | |
|---|
| 103 | #endif /* __DST_HAL_LOCAL_H__ */ |
|---|
Note: See
TracBrowser
for help on using the repository browser.