/**************************************************************************** * Copyright (c) 2004 Digital Stream Technologies Inc. All Rights Reserved. * * Module: dsthalfe.h * Author: Jun-ku Park, hwatk@dstreamtech.com * Description: DST HAL Common Header File * * * notes: hwatk20040602 * ***************************************************************************/ #ifndef __DST_HAL_LOCAL_H__ #define __DST_HAL_LOCAL_H__ #ifndef DS_U16 typedef unsigned short DS_U16; #endif #if !defined DS_S16 typedef short DS_S16; #endif #ifndef DS_U8 typedef unsigned char DS_U8; #endif #ifndef DS_S8 typedef char DS_S8; #endif #if !defined DS_S32 typedef long DS_S32; #endif #ifndef DS_U32 typedef unsigned long DS_U32; #endif #ifndef DS_S64 typedef long long int app_int64; #define DS_S64 app_int64 #endif #ifndef DS_U64 typedef unsigned long long int app_uint64; #define DS_U64 app_uint64 #endif #ifndef DS_BOOL typedef unsigned char app_bool; #define DS_BOOL app_bool #endif #ifndef __uint32_t_defined #define uint32_t DS_U32 #define __uint32_t_defined #endif #ifndef NULL #define NULL 0 #endif #ifndef _TRUE_ #define _TRUE_ 1 #endif #ifndef _FALSE_ #define _FALSE_ 0 #endif #ifndef DS_TRUE #define DS_TRUE 1 #endif #ifndef DS_FALSE #define DS_FALSE 0 #endif #ifndef CALLBACK #define CALLBACK #endif #ifndef DS_PUBLIC #define DS_PUBLIC #endif #ifndef DS_PRIVATE #define DS_PRIVATE #endif #define DHL_ERROR(x) (x!=DHL_OK) #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif #endif /* __DST_HAL_LOCAL_H__ */