2001-10-12 17:29:10 +00:00
/*
2003-11-18 20:56:51 +00:00
* Summary : interface for all global variables of the library
* Description : all the global variables and thread handling for
* those variables is handled by this module .
2001-10-12 17:29:10 +00:00
*
* The bottom of this file is automatically generated by build_glob . py
* based on the description file global . data
*
2003-11-18 20:56:51 +00:00
* Copy : See Copyright for the status of this software .
2001-10-12 17:29:10 +00:00
*
2003-11-18 20:56:51 +00:00
* Author : Gary Pennington < Gary . Pennington @ uk . sun . com > , Daniel Veillard
2001-10-12 17:29:10 +00:00
*/
# ifndef __XML_GLOBALS_H
# define __XML_GLOBALS_H
2003-08-25 09:05:12 +00:00
# include <libxml/xmlversion.h>
2001-10-12 17:29:10 +00:00
# include <libxml/parser.h>
# include <libxml/xmlerror.h>
2003-09-25 14:29:29 +00:00
# include <libxml/SAX.h>
2003-08-20 22:54:39 +00:00
# include <libxml/SAX2.h>
2002-02-11 08:54:05 +00:00
# include <libxml/xmlmemory.h>
2001-10-12 17:29:10 +00:00
# ifdef __cplusplus
extern " C " {
# endif
2003-09-05 08:36:12 +00:00
XMLPUBFUN void XMLCALL xmlInitGlobals ( void ) ;
XMLPUBFUN void XMLCALL xmlCleanupGlobals ( void ) ;
2003-05-15 22:11:36 +00:00
2008-04-11 12:58:43 +00:00
/**
* xmlParserInputBufferCreateFilenameFunc :
* @ URI : the URI to read from
* @ enc : the requested source encoding
*
* Signature for the function doing the lookup for a suitable input method
* corresponding to an URI .
*
* Returns the new xmlParserInputBufferPtr in case of success or NULL if no
* method was found .
*/
2013-12-12 14:59:18 +08:00
typedef xmlParserInputBufferPtr ( * xmlParserInputBufferCreateFilenameFunc ) ( const char * URI ,
xmlCharEncoding enc ) ;
2008-04-11 12:58:43 +00:00
/**
* xmlOutputBufferCreateFilenameFunc :
* @ URI : the URI to write to
* @ enc : the requested target encoding
*
* Signature for the function doing the lookup for a suitable output method
* corresponding to an URI .
*
* Returns the new xmlOutputBufferPtr in case of success or NULL if no
* method was found .
*/
2013-12-12 14:59:18 +08:00
typedef xmlOutputBufferPtr ( * xmlOutputBufferCreateFilenameFunc ) ( const char * URI ,
xmlCharEncodingHandlerPtr encoder ,
int compression ) ;
2008-04-11 12:58:43 +00:00
2004-06-29 12:54:08 +00:00
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
XMLCALL xmlParserInputBufferCreateFilenameDefault ( xmlParserInputBufferCreateFilenameFunc func ) ;
XMLPUBFUN xmlOutputBufferCreateFilenameFunc
XMLCALL xmlOutputBufferCreateFilenameDefault ( xmlOutputBufferCreateFilenameFunc func ) ;
2001-10-12 17:29:10 +00:00
/*
* Externally global symbols which need to be protected for backwards
* compatibility support .
*/
2001-10-13 09:15:48 +00:00
2001-10-12 17:29:10 +00:00
# undef docbDefaultSAXHandler
# undef htmlDefaultSAXHandler
# undef oldXMLWDcompatibility
# undef xmlBufferAllocScheme
# undef xmlDefaultBufferSize
# undef xmlDefaultSAXHandler
# undef xmlDefaultSAXLocator
# undef xmlDoValidityCheckingDefaultValue
# undef xmlFree
# undef xmlGenericError
2003-10-10 14:10:40 +00:00
# undef xmlStructuredError
2001-10-12 17:29:10 +00:00
# undef xmlGenericErrorContext
2009-08-24 17:34:25 +02:00
# undef xmlStructuredErrorContext
2001-10-12 17:29:10 +00:00
# undef xmlGetWarningsDefaultValue
# undef xmlIndentTreeOutput
2002-05-24 07:18:40 +00:00
# undef xmlTreeIndentString
2001-10-12 17:29:10 +00:00
# undef xmlKeepBlanksDefaultValue
# undef xmlLineNumbersDefaultValue
# undef xmlLoadExtDtdDefaultValue
# undef xmlMalloc
2003-04-19 00:07:51 +00:00
# undef xmlMallocAtomic
2001-10-12 17:29:10 +00:00
# undef xmlMemStrdup
# undef xmlParserDebugEntities
# undef xmlParserVersion
# undef xmlPedanticParserDefaultValue
# undef xmlRealloc
# undef xmlSaveNoEmptyTags
# undef xmlSubstituteEntitiesDefaultValue
2003-10-02 22:28:19 +00:00
# undef xmlRegisterNodeDefaultValue
# undef xmlDeregisterNodeDefaultValue
# undef xmlLastError
2004-06-02 16:18:40 +00:00
# undef xmlParserInputBufferCreateFilenameValue
# undef xmlOutputBufferCreateFilenameValue
2003-01-01 20:59:38 +00:00
2008-04-11 12:58:43 +00:00
/**
* xmlRegisterNodeFunc :
* @ node : the current node
*
* Signature for the registration callback of a created node
*/
2003-01-07 00:19:07 +00:00
typedef void ( * xmlRegisterNodeFunc ) ( xmlNodePtr node ) ;
2008-04-11 12:58:43 +00:00
/**
* xmlDeregisterNodeFunc :
* @ node : the current node
*
* Signature for the deregistration callback of a discarded node
*/
2003-01-07 00:19:07 +00:00
typedef void ( * xmlDeregisterNodeFunc ) ( xmlNodePtr node ) ;
2001-10-12 17:29:10 +00:00
typedef struct _xmlGlobalState xmlGlobalState ;
typedef xmlGlobalState * xmlGlobalStatePtr ;
2008-04-11 12:58:43 +00:00
struct _xmlGlobalState
2001-10-12 17:29:10 +00:00
{
2001-10-13 09:15:48 +00:00
const char * xmlParserVersion ;
2001-10-17 15:58:35 +00:00
xmlSAXLocator xmlDefaultSAXLocator ;
2003-09-25 14:29:29 +00:00
xmlSAXHandlerV1 xmlDefaultSAXHandler ;
xmlSAXHandlerV1 docbDefaultSAXHandler ;
xmlSAXHandlerV1 htmlDefaultSAXHandler ;
2001-10-17 15:58:35 +00:00
2001-10-13 09:15:48 +00:00
xmlFreeFunc xmlFree ;
xmlMallocFunc xmlMalloc ;
xmlStrdupFunc xmlMemStrdup ;
xmlReallocFunc xmlRealloc ;
xmlGenericErrorFunc xmlGenericError ;
2003-10-10 14:10:40 +00:00
xmlStructuredErrorFunc xmlStructuredError ;
2001-10-13 09:15:48 +00:00
void * xmlGenericErrorContext ;
2001-10-12 17:29:10 +00:00
int oldXMLWDcompatibility ;
2001-10-13 09:15:48 +00:00
2001-10-12 17:29:10 +00:00
xmlBufferAllocationScheme xmlBufferAllocScheme ;
int xmlDefaultBufferSize ;
2001-10-13 09:15:48 +00:00
int xmlSubstituteEntitiesDefaultValue ;
2001-10-12 17:29:10 +00:00
int xmlDoValidityCheckingDefaultValue ;
int xmlGetWarningsDefaultValue ;
int xmlKeepBlanksDefaultValue ;
int xmlLineNumbersDefaultValue ;
int xmlLoadExtDtdDefaultValue ;
int xmlParserDebugEntities ;
int xmlPedanticParserDefaultValue ;
2001-10-13 09:15:48 +00:00
2001-10-12 17:29:10 +00:00
int xmlSaveNoEmptyTags ;
2001-10-13 09:15:48 +00:00
int xmlIndentTreeOutput ;
2002-05-24 07:18:40 +00:00
const char * xmlTreeIndentString ;
2003-01-01 20:59:38 +00:00
2008-04-11 12:58:43 +00:00
xmlRegisterNodeFunc xmlRegisterNodeDefaultValue ;
xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue ;
2003-04-19 00:07:51 +00:00
xmlMallocFunc xmlMallocAtomic ;
2003-10-02 22:28:19 +00:00
xmlError xmlLastError ;
2004-06-02 16:18:40 +00:00
xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue ;
xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue ;
2009-08-24 17:34:25 +02:00
void * xmlStructuredErrorContext ;
2001-10-12 17:29:10 +00:00
} ;
2002-02-11 08:54:05 +00:00
# ifdef __cplusplus
}
# endif
# include <libxml/threads.h>
# ifdef __cplusplus
extern " C " {
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN void XMLCALL xmlInitializeGlobalState ( xmlGlobalStatePtr gs ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN void XMLCALL xmlThrDefSetGenericErrorFunc ( void * ctx , xmlGenericErrorFunc handler ) ;
2003-05-15 22:11:36 +00:00
2003-10-10 14:10:40 +00:00
XMLPUBFUN void XMLCALL xmlThrDefSetStructuredErrorFunc ( void * ctx , xmlStructuredErrorFunc handler ) ;
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault ( xmlRegisterNodeFunc func ) ;
XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlThrDefRegisterNodeDefault ( xmlRegisterNodeFunc func ) ;
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault ( xmlDeregisterNodeFunc func ) ;
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlThrDefDeregisterNodeDefault ( xmlDeregisterNodeFunc func ) ;
2003-01-01 20:59:38 +00:00
2008-04-11 12:58:43 +00:00
XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL
2004-06-08 10:16:42 +00:00
xmlThrDefOutputBufferCreateFilenameDefault ( xmlOutputBufferCreateFilenameFunc func ) ;
2008-04-11 12:58:43 +00:00
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
2013-12-12 14:59:18 +08:00
xmlThrDefParserInputBufferCreateFilenameDefault (
xmlParserInputBufferCreateFilenameFunc func ) ;
2004-06-02 16:18:40 +00:00
2003-12-05 14:57:46 +00:00
/** DOC_DISABLE */
2001-10-15 12:32:07 +00:00
/*
* In general the memory allocation entry points are not kept
2001-12-31 16:16:02 +00:00
* thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED
2001-10-15 12:32:07 +00:00
* - xmlMalloc
2003-04-19 00:07:51 +00:00
* - xmlMallocAtomic
2001-10-15 12:32:07 +00:00
* - xmlRealloc
* - xmlMemStrdup
* - xmlFree
*/
# ifdef LIBXML_THREAD_ALLOC_ENABLED
# ifdef LIBXML_THREAD_ENABLED
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMalloc ( void ) ;
2001-10-15 12:32:07 +00:00
# define xmlMalloc \
( * ( __xmlMalloc ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlMallocFunc xmlMalloc ;
2001-10-15 12:32:07 +00:00
# endif
2003-04-19 00:07:51 +00:00
# ifdef LIBXML_THREAD_ENABLED
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMallocAtomic ( void ) ;
2003-04-19 00:07:51 +00:00
# define xmlMallocAtomic \
( * ( __xmlMallocAtomic ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlMallocFunc xmlMallocAtomic ;
2003-04-19 00:07:51 +00:00
# endif
2001-10-15 12:32:07 +00:00
# ifdef LIBXML_THREAD_ENABLED
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlReallocFunc * XMLCALL __xmlRealloc ( void ) ;
2001-10-15 12:32:07 +00:00
# define xmlRealloc \
( * ( __xmlRealloc ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlReallocFunc xmlRealloc ;
2001-10-15 12:32:07 +00:00
# endif
# ifdef LIBXML_THREAD_ENABLED
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlFreeFunc * XMLCALL __xmlFree ( void ) ;
2001-10-15 12:32:07 +00:00
# define xmlFree \
( * ( __xmlFree ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlFreeFunc xmlFree ;
2001-10-15 12:32:07 +00:00
# endif
# ifdef LIBXML_THREAD_ENABLED
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlStrdupFunc * XMLCALL __xmlMemStrdup ( void ) ;
2001-10-15 12:32:07 +00:00
# define xmlMemStrdup \
( * ( __xmlMemStrdup ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlStrdupFunc xmlMemStrdup ;
2001-10-15 12:32:07 +00:00
# endif
2003-04-19 00:07:51 +00:00
2001-10-15 12:32:07 +00:00
# else /* !LIBXML_THREAD_ALLOC_ENABLED */
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlMallocFunc xmlMalloc ;
XMLPUBVAR xmlMallocFunc xmlMallocAtomic ;
XMLPUBVAR xmlReallocFunc xmlRealloc ;
XMLPUBVAR xmlFreeFunc xmlFree ;
XMLPUBVAR xmlStrdupFunc xmlMemStrdup ;
2001-10-15 12:32:07 +00:00
# endif /* LIBXML_THREAD_ALLOC_ENABLED */
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_DOCB_ENABLED
2003-09-25 14:29:29 +00:00
XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __docbDefaultSAXHandler ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define docbDefaultSAXHandler \
( * ( __docbDefaultSAXHandler ( ) ) )
# else
2003-09-25 14:29:29 +00:00
XMLPUBVAR xmlSAXHandlerV1 docbDefaultSAXHandler ;
2001-10-12 17:29:10 +00:00
# endif
2002-02-10 13:20:39 +00:00
# endif
2001-10-12 17:29:10 +00:00
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_HTML_ENABLED
2003-09-25 14:29:29 +00:00
XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __htmlDefaultSAXHandler ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define htmlDefaultSAXHandler \
( * ( __htmlDefaultSAXHandler ( ) ) )
# else
2003-09-25 14:29:29 +00:00
XMLPUBVAR xmlSAXHandlerV1 htmlDefaultSAXHandler ;
2001-10-12 17:29:10 +00:00
# endif
2002-02-10 13:20:39 +00:00
# endif
2003-10-02 22:28:19 +00:00
XMLPUBFUN xmlError * XMLCALL __xmlLastError ( void ) ;
# ifdef LIBXML_THREAD_ENABLED
# define xmlLastError \
( * ( __xmlLastError ( ) ) )
# else
XMLPUBVAR xmlError xmlLastError ;
# endif
2002-02-10 13:20:39 +00:00
/*
* Everything starting from the line below is
* Automatically generated by build_glob . py .
* Do not modify the previous line .
*/
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __oldXMLWDcompatibility ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define oldXMLWDcompatibility \
( * ( __oldXMLWDcompatibility ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int oldXMLWDcompatibility ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlBufferAllocationScheme * XMLCALL __xmlBufferAllocScheme ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlBufferAllocScheme \
( * ( __xmlBufferAllocScheme ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme ;
2001-10-12 17:29:10 +00:00
# endif
2013-12-12 14:59:18 +08:00
XMLPUBFUN xmlBufferAllocationScheme XMLCALL
xmlThrDefBufferAllocScheme ( xmlBufferAllocationScheme v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlDefaultBufferSize ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlDefaultBufferSize \
( * ( __xmlDefaultBufferSize ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlDefaultBufferSize ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefDefaultBufferSize ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-09-25 14:29:29 +00:00
XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __xmlDefaultSAXHandler ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlDefaultSAXHandler \
( * ( __xmlDefaultSAXHandler ( ) ) )
# else
2003-09-25 14:29:29 +00:00
XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlSAXLocator * XMLCALL __xmlDefaultSAXLocator ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlDefaultSAXLocator \
( * ( __xmlDefaultSAXLocator ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlDoValidityCheckingDefaultValue ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlDoValidityCheckingDefaultValue \
( * ( __xmlDoValidityCheckingDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlDoValidityCheckingDefaultValue ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefDoValidityCheckingDefaultValue ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlGenericErrorFunc * XMLCALL __xmlGenericError ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlGenericError \
( * ( __xmlGenericError ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlGenericErrorFunc xmlGenericError ;
2001-10-12 17:29:10 +00:00
# endif
2003-10-10 14:10:40 +00:00
XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError ( void ) ;
# ifdef LIBXML_THREAD_ENABLED
# define xmlStructuredError \
( * ( __xmlStructuredError ( ) ) )
# else
XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError ;
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN void * * XMLCALL __xmlGenericErrorContext ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlGenericErrorContext \
( * ( __xmlGenericErrorContext ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR void * xmlGenericErrorContext ;
2001-10-12 17:29:10 +00:00
# endif
2009-08-24 17:34:25 +02:00
XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext ( void ) ;
# ifdef LIBXML_THREAD_ENABLED
# define xmlStructuredErrorContext \
( * ( __xmlStructuredErrorContext ( ) ) )
# else
2009-09-07 15:24:24 +02:00
XMLPUBVAR void * xmlStructuredErrorContext ;
2009-08-24 17:34:25 +02:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlGetWarningsDefaultValue ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlGetWarningsDefaultValue \
( * ( __xmlGetWarningsDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlGetWarningsDefaultValue ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefGetWarningsDefaultValue ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlIndentTreeOutput ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlIndentTreeOutput \
( * ( __xmlIndentTreeOutput ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlIndentTreeOutput ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefIndentTreeOutput ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN const char * * XMLCALL __xmlTreeIndentString ( void ) ;
2002-05-24 07:18:40 +00:00
# ifdef LIBXML_THREAD_ENABLED
# define xmlTreeIndentString \
( * ( __xmlTreeIndentString ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR const char * xmlTreeIndentString ;
2002-05-24 07:18:40 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN const char * XMLCALL xmlThrDefTreeIndentString ( const char * v ) ;
2002-05-24 07:18:40 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlKeepBlanksDefaultValue ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlKeepBlanksDefaultValue \
( * ( __xmlKeepBlanksDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlKeepBlanksDefaultValue ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefKeepBlanksDefaultValue ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlLineNumbersDefaultValue ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlLineNumbersDefaultValue \
( * ( __xmlLineNumbersDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlLineNumbersDefaultValue ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefLineNumbersDefaultValue ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlLoadExtDtdDefaultValue ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlLoadExtDtdDefaultValue \
( * ( __xmlLoadExtDtdDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlLoadExtDtdDefaultValue ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefLoadExtDtdDefaultValue ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlParserDebugEntities ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlParserDebugEntities \
( * ( __xmlParserDebugEntities ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlParserDebugEntities ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefParserDebugEntities ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN const char * * XMLCALL __xmlParserVersion ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlParserVersion \
( * ( __xmlParserVersion ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR const char * xmlParserVersion ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlPedanticParserDefaultValue ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlPedanticParserDefaultValue \
( * ( __xmlPedanticParserDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlPedanticParserDefaultValue ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefPedanticParserDefaultValue ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlSaveNoEmptyTags ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlSaveNoEmptyTags \
( * ( __xmlSaveNoEmptyTags ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlSaveNoEmptyTags ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefSaveNoEmptyTags ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN int * XMLCALL __xmlSubstituteEntitiesDefaultValue ( void ) ;
2002-02-10 13:20:39 +00:00
# ifdef LIBXML_THREAD_ENABLED
2001-10-12 17:29:10 +00:00
# define xmlSubstituteEntitiesDefaultValue \
( * ( __xmlSubstituteEntitiesDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR int xmlSubstituteEntitiesDefaultValue ;
2001-10-12 17:29:10 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN int XMLCALL xmlThrDefSubstituteEntitiesDefaultValue ( int v ) ;
2001-10-12 17:29:10 +00:00
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlRegisterNodeFunc * XMLCALL __xmlRegisterNodeDefaultValue ( void ) ;
2003-01-01 20:59:38 +00:00
# ifdef LIBXML_THREAD_ENABLED
# define xmlRegisterNodeDefaultValue \
( * ( __xmlRegisterNodeDefaultValue ( ) ) )
# else
2003-08-28 16:26:39 +00:00
XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue ;
2003-01-01 20:59:38 +00:00
# endif
2003-08-25 09:05:12 +00:00
XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL __xmlDeregisterNodeDefaultValue ( void ) ;
2003-01-01 20:59:38 +00:00
# ifdef LIBXML_THREAD_ENABLED
# define xmlDeregisterNodeDefaultValue \
( * ( __xmlDeregisterNodeDefaultValue ( ) ) )
# else
2003-08-25 09:05:12 +00:00
XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue ;
2003-01-01 20:59:38 +00:00
# endif
2013-12-12 14:59:18 +08:00
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * XMLCALL \
__xmlParserInputBufferCreateFilenameValue ( void ) ;
2004-06-02 16:18:40 +00:00
# ifdef LIBXML_THREAD_ENABLED
# define xmlParserInputBufferCreateFilenameValue \
( * ( __xmlParserInputBufferCreateFilenameValue ( ) ) )
# else
XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue ;
# endif
XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL __xmlOutputBufferCreateFilenameValue ( void ) ;
# ifdef LIBXML_THREAD_ENABLED
# define xmlOutputBufferCreateFilenameValue \
( * ( __xmlOutputBufferCreateFilenameValue ( ) ) )
# else
XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue ;
# endif
2001-10-12 17:29:10 +00:00
# ifdef __cplusplus
}
# endif
# endif /* __XML_GLOBALS_H */