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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Definitions/Declarations for XMLEngine
25 #ifndef XMLENGCONFIG_H
26 #define XMLENGCONFIG_H
29 * This file contains definitions/declarations that affect XML Engine Core
33 #include <stdapis/libxml2/xmlengxeconfig.h>
35 #define XMLENGINE_EXCLUDE_UNUSED
36 #define XMLENGINE_EXCLUDE_FILE_FUNC
44 # define XMLENGINE_MEM_DEBUG
46 // Release-builds only
47 # define XMLENGINE_EXCLUDE_EMBED_MSG
66 #ifndef HAVE_SYS_STAT_H
67 #define HAVE_SYS_STAT_H
70 //----------------------------------------------------
71 #if defined(XMLENGINE_XPATH) && !defined(XMLENGINE_DOM)
72 # define XMLENGINE_DOM
73 #endif /* XMLENGINE_XPATH */
74 //----------------------------------------------------
76 typedef struct _DOMStringConverterData DOMStringConverterData;
77 struct _DOMStringConverterData
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)
85 #endif /* XMLENGCONFIG_H */