xmlsrv_plat/cxml_library_api/inc/cxml_nw2cxmlTypes.h
changeset 34 c7e9f1c97567
parent 25 417699dc19c9
child 36 172b09aa4eb6
equal deleted inserted replaced
25:417699dc19c9 34:c7e9f1c97567
     1 /*
       
     2 * Copyright (c) 2003 - 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CXML_NW2CXMLTYPES_H
       
    20 #define CXML_NW2CXMLTYPES_H
       
    21 
       
    22 #include <xml/cxml/cxml_type_def.h>
       
    23 
       
    24 #ifdef __cplusplus
       
    25 extern "C"
       
    26 {
       
    27 #endif /* __cplusplus */
       
    28 
       
    29 
       
    30 
       
    31 /* Data types */
       
    32 #define NW_Bool   CXML_Bool
       
    33 #define NW_Byte   CXML_Byte
       
    34 #define NW_Word   CXML_Word
       
    35 #define NW_Dword  CXML_Dword
       
    36 #define NW_Uint8  CXML_Uint8
       
    37 #define NW_Uint16 CXML_Uint16
       
    38 #define NW_Uint32 CXML_Uint32
       
    39 #define NW_Int8   CXML_Int8
       
    40 #define NW_Int16  CXML_Int16
       
    41 #define NW_Int32  CXML_Int32
       
    42 #define NW_Ucs2   CXML_Ucs2
       
    43 
       
    44 #define NW_TRUE              CXML_TRUE
       
    45 #define NW_FALSE             CXML_FALSE
       
    46 #define NW_ASSERT(x)         CXML_ASSERT(x)
       
    47 #define NW_REQUIRED_PARAM(x) CXML_REQUIRED_PARAM(x)
       
    48 
       
    49 #define NW_UINT16_MAX        CXML_UINT16_MAX
       
    50 #define NW_UINT32_MAX        CXML_UINT32_MAX
       
    51 #define NW_INT32_MIN         CXML_INT32_MIN
       
    52 #define NW_INT32_MAX         CXML_INT32_MAX
       
    53 #define NW_UINT16_CAST(expr) CXML_UINT16_CAST(expr)
       
    54 #define NW_UINT32_CAST(expr) CXML_UINT32_CAST(expr)  
       
    55 #define NW_INT32_CAST(expr)  CXML_INT32_CAST(expr)
       
    56 #define NW_Buffer_t          CXML_Buffer_t
       
    57 
       
    58 
       
    59 #ifdef __cplusplus
       
    60 } /* extern "C" { */
       
    61 #endif /* __cplusplus */
       
    62 
       
    63 #endif /* CXML_NW2CXMLTYPES_H */
       
    64