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