globals.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. /*
  2. * Summary: interface for all global variables of the library
  3. * Description: all the global variables and thread handling for
  4. * those variables is handled by this module.
  5. *
  6. * The bottom of this file is automatically generated by build_glob.py
  7. * based on the description file global.data
  8. *
  9. * Copy: See Copyright for the status of this software.
  10. *
  11. * Author: Gary Pennington <Gary.Pennington@uk.sun.com>, Daniel Veillard
  12. */
  13. #ifndef __XML_GLOBALS_H
  14. #define __XML_GLOBALS_H
  15. #include <libxml/xmlversion.h>
  16. #include <libxml/parser.h>
  17. #include <libxml/xmlerror.h>
  18. #include <libxml/SAX2.h>
  19. #include <libxml/xmlmemory.h>
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. XMLPUBFUN void XMLCALL xmlInitGlobals(void);
  24. XMLPUBFUN void XMLCALL xmlCleanupGlobals(void);
  25. /**
  26. * xmlParserInputBufferCreateFilenameFunc:
  27. * @URI: the URI to read from
  28. * @enc: the requested source encoding
  29. *
  30. * Signature for the function doing the lookup for a suitable input method
  31. * corresponding to an URI.
  32. *
  33. * Returns the new xmlParserInputBufferPtr in case of success or NULL if no
  34. * method was found.
  35. */
  36. typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI,
  37. xmlCharEncoding enc);
  38. /**
  39. * xmlOutputBufferCreateFilenameFunc:
  40. * @URI: the URI to write to
  41. * @enc: the requested target encoding
  42. *
  43. * Signature for the function doing the lookup for a suitable output method
  44. * corresponding to an URI.
  45. *
  46. * Returns the new xmlOutputBufferPtr in case of success or NULL if no
  47. * method was found.
  48. */
  49. typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI,
  50. xmlCharEncodingHandlerPtr encoder,
  51. int compression);
  52. XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
  53. XMLCALL xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func);
  54. XMLPUBFUN xmlOutputBufferCreateFilenameFunc
  55. XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func);
  56. /*
  57. * Externally global symbols which need to be protected for backwards
  58. * compatibility support.
  59. */
  60. #undef docbDefaultSAXHandler
  61. #undef htmlDefaultSAXHandler
  62. #undef oldXMLWDcompatibility
  63. #undef xmlBufferAllocScheme
  64. #undef xmlDefaultBufferSize
  65. #undef xmlDefaultSAXHandler
  66. #undef xmlDefaultSAXLocator
  67. #undef xmlDoValidityCheckingDefaultValue
  68. #undef xmlFree
  69. #undef xmlGenericError
  70. #undef xmlStructuredError
  71. #undef xmlGenericErrorContext
  72. #undef xmlStructuredErrorContext
  73. #undef xmlGetWarningsDefaultValue
  74. #undef xmlIndentTreeOutput
  75. #undef xmlTreeIndentString
  76. #undef xmlKeepBlanksDefaultValue
  77. #undef xmlLineNumbersDefaultValue
  78. #undef xmlLoadExtDtdDefaultValue
  79. #undef xmlMalloc
  80. #undef xmlMallocAtomic
  81. #undef xmlMemStrdup
  82. #undef xmlParserDebugEntities
  83. #undef xmlParserVersion
  84. #undef xmlPedanticParserDefaultValue
  85. #undef xmlRealloc
  86. #undef xmlSaveNoEmptyTags
  87. #undef xmlSubstituteEntitiesDefaultValue
  88. #undef xmlRegisterNodeDefaultValue
  89. #undef xmlDeregisterNodeDefaultValue
  90. #undef xmlLastError
  91. #undef xmlParserInputBufferCreateFilenameValue
  92. #undef xmlOutputBufferCreateFilenameValue
  93. /**
  94. * xmlRegisterNodeFunc:
  95. * @node: the current node
  96. *
  97. * Signature for the registration callback of a created node
  98. */
  99. typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node);
  100. /**
  101. * xmlDeregisterNodeFunc:
  102. * @node: the current node
  103. *
  104. * Signature for the deregistration callback of a discarded node
  105. */
  106. typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node);
  107. typedef struct _xmlGlobalState xmlGlobalState;
  108. typedef xmlGlobalState *xmlGlobalStatePtr;
  109. struct _xmlGlobalState
  110. {
  111. const char *xmlParserVersion;
  112. xmlSAXLocator xmlDefaultSAXLocator;
  113. xmlSAXHandlerV1 xmlDefaultSAXHandler;
  114. xmlSAXHandlerV1 docbDefaultSAXHandler;
  115. xmlSAXHandlerV1 htmlDefaultSAXHandler;
  116. xmlFreeFunc xmlFree;
  117. xmlMallocFunc xmlMalloc;
  118. xmlStrdupFunc xmlMemStrdup;
  119. xmlReallocFunc xmlRealloc;
  120. xmlGenericErrorFunc xmlGenericError;
  121. xmlStructuredErrorFunc xmlStructuredError;
  122. void *xmlGenericErrorContext;
  123. int oldXMLWDcompatibility;
  124. xmlBufferAllocationScheme xmlBufferAllocScheme;
  125. int xmlDefaultBufferSize;
  126. int xmlSubstituteEntitiesDefaultValue;
  127. int xmlDoValidityCheckingDefaultValue;
  128. int xmlGetWarningsDefaultValue;
  129. int xmlKeepBlanksDefaultValue;
  130. int xmlLineNumbersDefaultValue;
  131. int xmlLoadExtDtdDefaultValue;
  132. int xmlParserDebugEntities;
  133. int xmlPedanticParserDefaultValue;
  134. int xmlSaveNoEmptyTags;
  135. int xmlIndentTreeOutput;
  136. const char *xmlTreeIndentString;
  137. xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
  138. xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
  139. xmlMallocFunc xmlMallocAtomic;
  140. xmlError xmlLastError;
  141. xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
  142. xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
  143. void *xmlStructuredErrorContext;
  144. };
  145. #ifdef __cplusplus
  146. }
  147. #endif
  148. #include <libxml/threads.h>
  149. #ifdef __cplusplus
  150. extern "C" {
  151. #endif
  152. XMLPUBFUN void XMLCALL xmlInitializeGlobalState(xmlGlobalStatePtr gs);
  153. XMLPUBFUN void XMLCALL xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
  154. XMLPUBFUN void XMLCALL xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
  155. XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
  156. XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
  157. XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
  158. XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
  159. XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL
  160. xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func);
  161. XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
  162. xmlThrDefParserInputBufferCreateFilenameDefault(
  163. xmlParserInputBufferCreateFilenameFunc func);
  164. /** DOC_DISABLE */
  165. /*
  166. * In general the memory allocation entry points are not kept
  167. * thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED
  168. * - xmlMalloc
  169. * - xmlMallocAtomic
  170. * - xmlRealloc
  171. * - xmlMemStrdup
  172. * - xmlFree
  173. */
  174. #ifdef LIBXML_THREAD_ALLOC_ENABLED
  175. #ifdef LIBXML_THREAD_ENABLED
  176. XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMalloc(void);
  177. #define xmlMalloc \
  178. (*(__xmlMalloc()))
  179. #else
  180. XMLPUBVAR xmlMallocFunc xmlMalloc;
  181. #endif
  182. #ifdef LIBXML_THREAD_ENABLED
  183. XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMallocAtomic(void);
  184. #define xmlMallocAtomic \
  185. (*(__xmlMallocAtomic()))
  186. #else
  187. XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
  188. #endif
  189. #ifdef LIBXML_THREAD_ENABLED
  190. XMLPUBFUN xmlReallocFunc * XMLCALL __xmlRealloc(void);
  191. #define xmlRealloc \
  192. (*(__xmlRealloc()))
  193. #else
  194. XMLPUBVAR xmlReallocFunc xmlRealloc;
  195. #endif
  196. #ifdef LIBXML_THREAD_ENABLED
  197. XMLPUBFUN xmlFreeFunc * XMLCALL __xmlFree(void);
  198. #define xmlFree \
  199. (*(__xmlFree()))
  200. #else
  201. XMLPUBVAR xmlFreeFunc xmlFree;
  202. #endif
  203. #ifdef LIBXML_THREAD_ENABLED
  204. XMLPUBFUN xmlStrdupFunc * XMLCALL __xmlMemStrdup(void);
  205. #define xmlMemStrdup \
  206. (*(__xmlMemStrdup()))
  207. #else
  208. XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
  209. #endif
  210. #else /* !LIBXML_THREAD_ALLOC_ENABLED */
  211. XMLPUBVAR xmlMallocFunc xmlMalloc;
  212. XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
  213. XMLPUBVAR xmlReallocFunc xmlRealloc;
  214. XMLPUBVAR xmlFreeFunc xmlFree;
  215. XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
  216. #endif /* LIBXML_THREAD_ALLOC_ENABLED */
  217. #ifdef LIBXML_DOCB_ENABLED
  218. XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __docbDefaultSAXHandler(void);
  219. #ifdef LIBXML_THREAD_ENABLED
  220. #define docbDefaultSAXHandler \
  221. (*(__docbDefaultSAXHandler()))
  222. #else
  223. XMLPUBVAR xmlSAXHandlerV1 docbDefaultSAXHandler;
  224. #endif
  225. #endif
  226. #ifdef LIBXML_HTML_ENABLED
  227. XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __htmlDefaultSAXHandler(void);
  228. #ifdef LIBXML_THREAD_ENABLED
  229. #define htmlDefaultSAXHandler \
  230. (*(__htmlDefaultSAXHandler()))
  231. #else
  232. XMLPUBVAR xmlSAXHandlerV1 htmlDefaultSAXHandler;
  233. #endif
  234. #endif
  235. XMLPUBFUN xmlError * XMLCALL __xmlLastError(void);
  236. #ifdef LIBXML_THREAD_ENABLED
  237. #define xmlLastError \
  238. (*(__xmlLastError()))
  239. #else
  240. XMLPUBVAR xmlError xmlLastError;
  241. #endif
  242. /*
  243. * Everything starting from the line below is
  244. * Automatically generated by build_glob.py.
  245. * Do not modify the previous line.
  246. */
  247. XMLPUBFUN int * XMLCALL __oldXMLWDcompatibility(void);
  248. #ifdef LIBXML_THREAD_ENABLED
  249. #define oldXMLWDcompatibility \
  250. (*(__oldXMLWDcompatibility()))
  251. #else
  252. XMLPUBVAR int oldXMLWDcompatibility;
  253. #endif
  254. XMLPUBFUN xmlBufferAllocationScheme * XMLCALL __xmlBufferAllocScheme(void);
  255. #ifdef LIBXML_THREAD_ENABLED
  256. #define xmlBufferAllocScheme \
  257. (*(__xmlBufferAllocScheme()))
  258. #else
  259. XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme;
  260. #endif
  261. XMLPUBFUN xmlBufferAllocationScheme XMLCALL
  262. xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
  263. XMLPUBFUN int * XMLCALL __xmlDefaultBufferSize(void);
  264. #ifdef LIBXML_THREAD_ENABLED
  265. #define xmlDefaultBufferSize \
  266. (*(__xmlDefaultBufferSize()))
  267. #else
  268. XMLPUBVAR int xmlDefaultBufferSize;
  269. #endif
  270. XMLPUBFUN int XMLCALL xmlThrDefDefaultBufferSize(int v);
  271. XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __xmlDefaultSAXHandler(void);
  272. #ifdef LIBXML_THREAD_ENABLED
  273. #define xmlDefaultSAXHandler \
  274. (*(__xmlDefaultSAXHandler()))
  275. #else
  276. XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler;
  277. #endif
  278. XMLPUBFUN xmlSAXLocator * XMLCALL __xmlDefaultSAXLocator(void);
  279. #ifdef LIBXML_THREAD_ENABLED
  280. #define xmlDefaultSAXLocator \
  281. (*(__xmlDefaultSAXLocator()))
  282. #else
  283. XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator;
  284. #endif
  285. XMLPUBFUN int * XMLCALL __xmlDoValidityCheckingDefaultValue(void);
  286. #ifdef LIBXML_THREAD_ENABLED
  287. #define xmlDoValidityCheckingDefaultValue \
  288. (*(__xmlDoValidityCheckingDefaultValue()))
  289. #else
  290. XMLPUBVAR int xmlDoValidityCheckingDefaultValue;
  291. #endif
  292. XMLPUBFUN int XMLCALL xmlThrDefDoValidityCheckingDefaultValue(int v);
  293. XMLPUBFUN xmlGenericErrorFunc * XMLCALL __xmlGenericError(void);
  294. #ifdef LIBXML_THREAD_ENABLED
  295. #define xmlGenericError \
  296. (*(__xmlGenericError()))
  297. #else
  298. XMLPUBVAR xmlGenericErrorFunc xmlGenericError;
  299. #endif
  300. XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError(void);
  301. #ifdef LIBXML_THREAD_ENABLED
  302. #define xmlStructuredError \
  303. (*(__xmlStructuredError()))
  304. #else
  305. XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError;
  306. #endif
  307. XMLPUBFUN void * * XMLCALL __xmlGenericErrorContext(void);
  308. #ifdef LIBXML_THREAD_ENABLED
  309. #define xmlGenericErrorContext \
  310. (*(__xmlGenericErrorContext()))
  311. #else
  312. XMLPUBVAR void * xmlGenericErrorContext;
  313. #endif
  314. XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
  315. #ifdef LIBXML_THREAD_ENABLED
  316. #define xmlStructuredErrorContext \
  317. (*(__xmlStructuredErrorContext()))
  318. #else
  319. XMLPUBVAR void * xmlStructuredErrorContext;
  320. #endif
  321. XMLPUBFUN int * XMLCALL __xmlGetWarningsDefaultValue(void);
  322. #ifdef LIBXML_THREAD_ENABLED
  323. #define xmlGetWarningsDefaultValue \
  324. (*(__xmlGetWarningsDefaultValue()))
  325. #else
  326. XMLPUBVAR int xmlGetWarningsDefaultValue;
  327. #endif
  328. XMLPUBFUN int XMLCALL xmlThrDefGetWarningsDefaultValue(int v);
  329. XMLPUBFUN int * XMLCALL __xmlIndentTreeOutput(void);
  330. #ifdef LIBXML_THREAD_ENABLED
  331. #define xmlIndentTreeOutput \
  332. (*(__xmlIndentTreeOutput()))
  333. #else
  334. XMLPUBVAR int xmlIndentTreeOutput;
  335. #endif
  336. XMLPUBFUN int XMLCALL xmlThrDefIndentTreeOutput(int v);
  337. XMLPUBFUN const char * * XMLCALL __xmlTreeIndentString(void);
  338. #ifdef LIBXML_THREAD_ENABLED
  339. #define xmlTreeIndentString \
  340. (*(__xmlTreeIndentString()))
  341. #else
  342. XMLPUBVAR const char * xmlTreeIndentString;
  343. #endif
  344. XMLPUBFUN const char * XMLCALL xmlThrDefTreeIndentString(const char * v);
  345. XMLPUBFUN int * XMLCALL __xmlKeepBlanksDefaultValue(void);
  346. #ifdef LIBXML_THREAD_ENABLED
  347. #define xmlKeepBlanksDefaultValue \
  348. (*(__xmlKeepBlanksDefaultValue()))
  349. #else
  350. XMLPUBVAR int xmlKeepBlanksDefaultValue;
  351. #endif
  352. XMLPUBFUN int XMLCALL xmlThrDefKeepBlanksDefaultValue(int v);
  353. XMLPUBFUN int * XMLCALL __xmlLineNumbersDefaultValue(void);
  354. #ifdef LIBXML_THREAD_ENABLED
  355. #define xmlLineNumbersDefaultValue \
  356. (*(__xmlLineNumbersDefaultValue()))
  357. #else
  358. XMLPUBVAR int xmlLineNumbersDefaultValue;
  359. #endif
  360. XMLPUBFUN int XMLCALL xmlThrDefLineNumbersDefaultValue(int v);
  361. XMLPUBFUN int * XMLCALL __xmlLoadExtDtdDefaultValue(void);
  362. #ifdef LIBXML_THREAD_ENABLED
  363. #define xmlLoadExtDtdDefaultValue \
  364. (*(__xmlLoadExtDtdDefaultValue()))
  365. #else
  366. XMLPUBVAR int xmlLoadExtDtdDefaultValue;
  367. #endif
  368. XMLPUBFUN int XMLCALL xmlThrDefLoadExtDtdDefaultValue(int v);
  369. XMLPUBFUN int * XMLCALL __xmlParserDebugEntities(void);
  370. #ifdef LIBXML_THREAD_ENABLED
  371. #define xmlParserDebugEntities \
  372. (*(__xmlParserDebugEntities()))
  373. #else
  374. XMLPUBVAR int xmlParserDebugEntities;
  375. #endif
  376. XMLPUBFUN int XMLCALL xmlThrDefParserDebugEntities(int v);
  377. XMLPUBFUN const char * * XMLCALL __xmlParserVersion(void);
  378. #ifdef LIBXML_THREAD_ENABLED
  379. #define xmlParserVersion \
  380. (*(__xmlParserVersion()))
  381. #else
  382. XMLPUBVAR const char * xmlParserVersion;
  383. #endif
  384. XMLPUBFUN int * XMLCALL __xmlPedanticParserDefaultValue(void);
  385. #ifdef LIBXML_THREAD_ENABLED
  386. #define xmlPedanticParserDefaultValue \
  387. (*(__xmlPedanticParserDefaultValue()))
  388. #else
  389. XMLPUBVAR int xmlPedanticParserDefaultValue;
  390. #endif
  391. XMLPUBFUN int XMLCALL xmlThrDefPedanticParserDefaultValue(int v);
  392. XMLPUBFUN int * XMLCALL __xmlSaveNoEmptyTags(void);
  393. #ifdef LIBXML_THREAD_ENABLED
  394. #define xmlSaveNoEmptyTags \
  395. (*(__xmlSaveNoEmptyTags()))
  396. #else
  397. XMLPUBVAR int xmlSaveNoEmptyTags;
  398. #endif
  399. XMLPUBFUN int XMLCALL xmlThrDefSaveNoEmptyTags(int v);
  400. XMLPUBFUN int * XMLCALL __xmlSubstituteEntitiesDefaultValue(void);
  401. #ifdef LIBXML_THREAD_ENABLED
  402. #define xmlSubstituteEntitiesDefaultValue \
  403. (*(__xmlSubstituteEntitiesDefaultValue()))
  404. #else
  405. XMLPUBVAR int xmlSubstituteEntitiesDefaultValue;
  406. #endif
  407. XMLPUBFUN int XMLCALL xmlThrDefSubstituteEntitiesDefaultValue(int v);
  408. XMLPUBFUN xmlRegisterNodeFunc * XMLCALL __xmlRegisterNodeDefaultValue(void);
  409. #ifdef LIBXML_THREAD_ENABLED
  410. #define xmlRegisterNodeDefaultValue \
  411. (*(__xmlRegisterNodeDefaultValue()))
  412. #else
  413. XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
  414. #endif
  415. XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL __xmlDeregisterNodeDefaultValue(void);
  416. #ifdef LIBXML_THREAD_ENABLED
  417. #define xmlDeregisterNodeDefaultValue \
  418. (*(__xmlDeregisterNodeDefaultValue()))
  419. #else
  420. XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
  421. #endif
  422. XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * XMLCALL \
  423. __xmlParserInputBufferCreateFilenameValue(void);
  424. #ifdef LIBXML_THREAD_ENABLED
  425. #define xmlParserInputBufferCreateFilenameValue \
  426. (*(__xmlParserInputBufferCreateFilenameValue()))
  427. #else
  428. XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
  429. #endif
  430. XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL __xmlOutputBufferCreateFilenameValue(void);
  431. #ifdef LIBXML_THREAD_ENABLED
  432. #define xmlOutputBufferCreateFilenameValue \
  433. (*(__xmlOutputBufferCreateFilenameValue()))
  434. #else
  435. XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
  436. #endif
  437. #ifdef __cplusplus
  438. }
  439. #endif
  440. #endif /* __XML_GLOBALS_H */