1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/libxml2/xmlengconfig.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,85 @@
1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Definitions/Declarations for XMLEngine
1.18 +//
1.19 +
1.20 +
1.21 +
1.22 +/**
1.23 + @file
1.24 + @publishedAll
1.25 + @released
1.26 +*/
1.27 +
1.28 +#ifndef XMLENGCONFIG_H
1.29 +#define XMLENGCONFIG_H
1.30 +
1.31 +/**
1.32 + * This file contains definitions/declarations that affect XML Engine Core
1.33 + *
1.34 + */
1.35 +
1.36 +#include <stdapis/libxml2/xmlengxeconfig.h>
1.37 +
1.38 +#define XMLENGINE_EXCLUDE_UNUSED
1.39 +#define XMLENGINE_EXCLUDE_FILE_FUNC
1.40 +
1.41 +#ifndef HAVE_ERRNO_H
1.42 +#define HAVE_ERRNO_H
1.43 +#endif
1.44 +
1.45 +#ifdef _DEBUG
1.46 +// Debug-builds only
1.47 +# define XMLENGINE_MEM_DEBUG
1.48 +#else
1.49 +// Release-builds only
1.50 +# define XMLENGINE_EXCLUDE_EMBED_MSG
1.51 +#endif
1.52 +
1.53 +#ifndef HAVE_CTYPE_H
1.54 +#define HAVE_CTYPE_H
1.55 +#endif
1.56 +
1.57 +#ifndef HAVE_STDLIB_H
1.58 +#define HAVE_STDLIB_H
1.59 +#endif
1.60 +
1.61 +#ifndef HAVE_MATH_H
1.62 +#define HAVE_MATH_H
1.63 +#endif
1.64 +
1.65 +#ifndef HAVE_UNISTD_H
1.66 +#define HAVE_UNISTD_H
1.67 +#endif
1.68 +
1.69 +#ifndef HAVE_SYS_STAT_H
1.70 +#define HAVE_SYS_STAT_H
1.71 +#endif
1.72 +
1.73 +//----------------------------------------------------
1.74 +#if defined(XMLENGINE_XPATH) && !defined(XMLENGINE_DOM)
1.75 +# define XMLENGINE_DOM
1.76 +#endif /* XMLENGINE_XPATH */
1.77 +//----------------------------------------------------
1.78 +
1.79 +typedef struct _DOMStringConverterData DOMStringConverterData;
1.80 +struct _DOMStringConverterData
1.81 +{
1.82 + unsigned int lastSaved; // index: 0-3
1.83 + unsigned int maxReusableSize; // cut-off limit for buffers (0 = unrestricted)
1.84 + char* cleanupItem[4]; // temporary DOMString used in API method calls
1.85 + unsigned int itemSize[4]; // size of memory allocated (an item may be reused)
1.86 +};
1.87 +
1.88 +#endif /* XMLENGCONFIG_H */