globals.h 890 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Summary: interface for all global variables of the library
  3. * Description: Deprecated, don't use
  4. *
  5. * Copy: See Copyright for the status of this software.
  6. */
  7. #ifndef __XML_GLOBALS_H
  8. #define __XML_GLOBALS_H
  9. #include <libxml/xmlversion.h>
  10. /*
  11. * This file was required to access global variables until version v2.12.0.
  12. *
  13. * These includes are for backward compatibility.
  14. */
  15. #include <libxml/HTMLparser.h>
  16. #include <libxml/parser.h>
  17. #include <libxml/xmlerror.h>
  18. #include <libxml/xmlIO.h>
  19. #include <libxml/xmlsave.h>
  20. #include <libxml/threads.h>
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. typedef struct _xmlGlobalState xmlGlobalState;
  25. typedef xmlGlobalState *xmlGlobalStatePtr;
  26. XML_DEPRECATED XMLPUBFUN void
  27. xmlInitializeGlobalState(xmlGlobalStatePtr gs);
  28. XML_DEPRECATED XMLPUBFUN
  29. xmlGlobalStatePtr xmlGetGlobalState(void);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* __XML_GLOBALS_H */