epoc32/include/stdapis/libxml2/xmlengconfig.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Definitions/Declarations for XMLEngine
    15 //
    16 
    17 
    18 
    19 /**
    20  @file
    21  @publishedAll
    22  @released
    23 */
    24 
    25 #ifndef XMLENGCONFIG_H
    26 #define XMLENGCONFIG_H
    27 
    28 /**
    29  * This file contains definitions/declarations  that affect XML Engine Core
    30  *
    31  */
    32 
    33 #include <stdapis/libxml2/xmlengxeconfig.h>
    34 
    35 #define XMLENGINE_EXCLUDE_UNUSED
    36 #define XMLENGINE_EXCLUDE_FILE_FUNC
    37 
    38 #ifndef HAVE_ERRNO_H
    39 #define HAVE_ERRNO_H
    40 #endif
    41 
    42 #ifdef _DEBUG
    43 //  Debug-builds only
    44 #   define XMLENGINE_MEM_DEBUG
    45 #else
    46 //  Release-builds only
    47 #   define XMLENGINE_EXCLUDE_EMBED_MSG
    48 #endif
    49 
    50 #ifndef HAVE_CTYPE_H
    51 #define HAVE_CTYPE_H
    52 #endif
    53 
    54 #ifndef HAVE_STDLIB_H
    55 #define HAVE_STDLIB_H
    56 #endif
    57 
    58 #ifndef HAVE_MATH_H
    59 #define HAVE_MATH_H
    60 #endif
    61 
    62 #ifndef HAVE_UNISTD_H
    63 #define HAVE_UNISTD_H
    64 #endif
    65 
    66 #ifndef HAVE_SYS_STAT_H
    67 #define HAVE_SYS_STAT_H
    68 #endif
    69 
    70 //----------------------------------------------------
    71 #if defined(XMLENGINE_XPATH) && !defined(XMLENGINE_DOM)
    72 #  define XMLENGINE_DOM
    73 #endif /* XMLENGINE_XPATH */
    74 //----------------------------------------------------
    75 
    76 typedef struct _DOMStringConverterData DOMStringConverterData;
    77 struct _DOMStringConverterData
    78 {
    79     unsigned int lastSaved;         // index: 0-3
    80     unsigned int maxReusableSize;   // cut-off limit for buffers (0 = unrestricted)
    81     char*        cleanupItem[4];    // temporary DOMString used in API method calls
    82     unsigned int itemSize[4];       // size of memory allocated (an item may be reused)
    83 };
    84 
    85 #endif /* XMLENGCONFIG_H */