1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/libxml2/libxml2_modules.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,212 @@
1.4 +/*
1.5 + * Summary: Defines which libxml2 modules are compiled in for XML Engine
1.6 + * Description: Defines which libxml2 modules are compiled in for XML Engine
1.7 + *
1.8 + * Copy: See Copyright for the status of this software.
1.9 + *
1.10 + * Author: Daniel Veillard
1.11 + * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.12 + */
1.13 +
1.14 +/**
1.15 + @file
1.16 + @publishedAll
1.17 + @released
1.18 +*/
1.19 +#ifndef LIBXML2_MODULES_H
1.20 +#define LIBXML2_MODULES_H
1.21 +
1.22 +// All new configuration directives are in:
1.23 +#include <stdapis/libxml2/xmlengconfig.h>
1.24 +
1.25 +#ifdef XMLENGINE_EXCLUDE_EMBED_MSG
1.26 +extern const char * const __embedded_errtxt_replacement;
1.27 +#define EMBED_ERRTXT(str) NULL
1.28 +//#define EMBED_ERRTXT(str) __embedded_errtxt_replacement
1.29 +#else
1.30 +#define EMBED_ERRTXT(str) str
1.31 +#endif
1.32 +
1.33 +#ifdef IN_LIBXML
1.34 +# define OOM_FLAG (xmlOOM)
1.35 +#else
1.36 +// DO NOT USE "xmlOOM" outside of Libxml2 code!!!
1.37 +// (xmlOOM is an internal macro for accessing value via TLS)
1.38 +# define OOM_FLAG (xmlOOMFlag())
1.39 +#endif
1.40 +
1.41 +# define SET_OOM_FLAG xmlSetOOM()
1.42 +# define RESET_OOM_FLAG xmlResetOOM()
1.43 +
1.44 +/*
1.45 +* _xmlDoc struct has field 'cachedGs'
1.46 +* where result of xmlGetGlobalState() is stored
1.47 +*
1.48 +* (cachedGs field is not in the part that is common with _xmlNode and _xmlAttr)
1.49 +*/
1.50 +#define LIBXML_ENABLE_GS_CACHING_IN_DOC
1.51 +#define LIBXML_ENABLE_GS_CACHING_IN_CTXT
1.52 +
1.53 +/*
1.54 +* struct members
1.55 +* _xmlNode.line, _xmlRef.lineno, _xmlID.lineno
1.56 +* and all related functions/code
1.57 +* are excluded from the current configuration if this is commented out:
1.58 +*/
1.59 +//#define LIBXML_ENABLE_NODE_LINEINFO
1.60 +
1.61 +/**
1.62 + * LIBXML_CATALOG_ENABLED:
1.63 + *
1.64 + * Whether the Catalog support is configured in
1.65 + */
1.66 +//#define LIBXML_CATALOG_ENABLED
1.67 +
1.68 +/**
1.69 + * LIBXML_THREAD_ENABLED:
1.70 + *
1.71 + * Whether the thread support is configured in
1.72 + */
1.73 +//#define LIBXML_THREAD_ENABLED
1.74 +
1.75 +/**
1.76 + * LIBXML_TREE_ENABLED:
1.77 + *
1.78 + * Whether the DOM like tree manipulation API support is configured in
1.79 + */
1.80 +#define LIBXML_TREE_ENABLED
1.81 +
1.82 +/**
1.83 + * LIBXML_OUTPUT_ENABLED:
1.84 + *
1.85 + * Whether the serialization/saving support is configured in
1.86 + */
1.87 +#define LIBXML_OUTPUT_ENABLED
1.88 +
1.89 +/**
1.90 + * LIBXML_PUSH_ENABLED:
1.91 + *
1.92 + * Whether the push parsing interfaces are configured in
1.93 + */
1.94 +#define LIBXML_PUSH_ENABLED
1.95 +
1.96 +/**
1.97 + * LIBXML_READER_ENABLED:
1.98 + *
1.99 + * Whether the xmlReader parsing interface is configured in
1.100 + */
1.101 +#define LIBXML_READER_ENABLED
1.102 +
1.103 +/**
1.104 + * LIBXML_PATTERN_ENABLED:
1.105 + *
1.106 + * Whether the xmlPattern node selection interface is configured in
1.107 + */
1.108 +//#define LIBXML_PATTERN_ENABLED
1.109 +
1.110 +/**
1.111 + * LIBXML_WRITER_ENABLED:
1.112 + *
1.113 + * Whether the xmlWriter saving interface is configured in
1.114 + */
1.115 +#define LIBXML_WRITER_ENABLED
1.116 +
1.117 +/**
1.118 + * LIBXML_SAX1_ENABLED:
1.119 + *
1.120 + * Whether the older SAX1 interface is configured in
1.121 + */
1.122 +#define LIBXML_SAX1_ENABLED
1.123 +
1.124 +/**
1.125 + * LIBXML_VALID_ENABLED:
1.126 + *
1.127 + * Whether the DTD validation support is configured in
1.128 + */
1.129 +//#define LIBXML_VALID_ENABLED
1.130 +
1.131 +/**
1.132 + * LIBXML_HTML_ENABLED:
1.133 + *
1.134 + * Whether the HTML support is configured in
1.135 + */
1.136 +//#define LIBXML_HTML_ENABLED
1.137 +
1.138 +/**
1.139 + * LIBXML_LEGACY_ENABLED:
1.140 + *
1.141 + * Whether the deprecated APIs are compiled in for compatibility
1.142 + */
1.143 +//#define LIBXML_LEGACY_ENABLED
1.144 +
1.145 +/**
1.146 + * LIBXML_C14N_ENABLED:
1.147 + *
1.148 + * Whether the Canonicalization support is configured in
1.149 + */
1.150 +#define LIBXML_C14N_ENABLED
1.151 +
1.152 +/**
1.153 + * LIBXML_XPATH_ENABLED:
1.154 + *
1.155 + * Whether XPath is configured in
1.156 + */
1.157 +#define LIBXML_XPATH_ENABLED
1.158 +
1.159 +/**
1.160 + * LIBXML_XPTR_ENABLED:
1.161 + *
1.162 + * Whether XPointer is configured in
1.163 + */
1.164 +#define LIBXML_XPTR_ENABLED
1.165 +
1.166 +/**
1.167 + * LIBXML_XINCLUDE_ENABLED:
1.168 + *
1.169 + * Whether XInclude is configured in
1.170 + */
1.171 +#define LIBXML_XINCLUDE_ENABLED
1.172 +
1.173 +/**
1.174 + * LIBXML_DEBUG_ENABLED:
1.175 + *
1.176 + * Whether Debugging module is configured in
1.177 + */
1.178 +//#define LIBXML_DEBUG_ENABLED
1.179 +
1.180 +/**
1.181 + * DEBUG_MEMORY_LOCATION:
1.182 + *
1.183 + * Whether the memory debugging is configured in
1.184 + */
1.185 +//#define DEBUG_MEMORY_LOCATION
1.186 +
1.187 +/**
1.188 + * LIBXML_UNICODE_ENABLED:
1.189 + *
1.190 + * Whether the Unicode related interfaces are compiled in
1.191 + */
1.192 +//#define LIBXML_UNICODE_ENABLED
1.193 +
1.194 +/**
1.195 + * LIBXML_REGEXP_ENABLED:
1.196 + *
1.197 + * Whether the regular expressions interfaces are compiled in
1.198 + */
1.199 +//#define LIBXML_REGEXP_ENABLED
1.200 +
1.201 +/**
1.202 + * LIBXML_AUTOMATA_ENABLED:
1.203 + *
1.204 + * Whether the automata interfaces are compiled in
1.205 + */
1.206 +//#define LIBXML_AUTOMATA_ENABLED
1.207 +
1.208 +/**
1.209 + * LIBXML_SCHEMAS_ENABLED:
1.210 + *
1.211 + * Whether the Schemas validation interfaces are compiled in
1.212 + */
1.213 +//#define LIBXML_SCHEMAS_ENABLED
1.214 +
1.215 +#endif /* LIBXML2_MODULES_H */