diff --git a/ChangeLog b/ChangeLog index 4fec4ae9..e255d030 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Jun 29 14:52:18 CEST 2004 Daniel Veillard + + * include/libxml/globals.h include/libxml/xmlIO.h + doc/libxml2-api.xml doc/libxml2-refs.xml: moved some definitions + to globals.h to avoid some troubles pointed out by Rob Richards + Mon Jun 28 11:25:31 CEST 2004 Daniel Veillard * libxml.m4: applied changes suggested by Mike Hommey, remove diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index e9465c6b..3455a6e1 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -494,15 +494,18 @@ - - + + + + - + + @@ -510,8 +513,8 @@ - - + + @@ -519,6 +522,7 @@ + chained hash tables @@ -1609,7 +1613,6 @@ - @@ -1617,10 +1620,8 @@ - - @@ -1646,7 +1647,6 @@ - @@ -1663,7 +1663,7 @@ - + API to build regexp automata @@ -9218,9 +9218,9 @@ actually an xmlCharEncoding'/> - a free() equivalent, with error checking. + - + Provides the memory access functions set currently in use @@ -9231,15 +9231,15 @@ actually an xmlCharEncoding'/> - a malloc() equivalent, with logging of the allocation info. - - + + + - a realloc() equivalent, with logging of the allocation info. - - - + + + + Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ? @@ -9271,9 +9271,9 @@ actually an xmlCharEncoding'/> - a strdup() equivalent, with logging of the allocation info. - - + + + xmlMutexLock() is used to lock a libxml2 token. @@ -10035,12 +10035,12 @@ actually an xmlCharEncoding'/> - + Registers a callback for URI output file handling - + @@ -10521,12 +10521,12 @@ actually an xmlCharEncoding'/> - + Registers a callback for URI input file handling - + diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index c9081a59..907e1514 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -1890,8 +1890,8 @@ - - + + @@ -1981,8 +1981,8 @@ - - + + @@ -9488,8 +9488,12 @@ + + + + @@ -10589,8 +10593,6 @@ - - @@ -10604,8 +10606,6 @@ - - @@ -16403,8 +16403,6 @@ - - @@ -16415,10 +16413,7 @@ - - - @@ -16702,8 +16697,6 @@ - - @@ -17458,7 +17451,6 @@ - @@ -19310,11 +19302,7 @@ - - - - @@ -20783,10 +20771,7 @@ - - - @@ -20864,9 +20849,7 @@ - - @@ -20988,6 +20971,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -21226,8 +21232,6 @@ - - @@ -21552,10 +21556,7 @@ - - - @@ -21654,7 +21655,6 @@ - @@ -22431,7 +22431,6 @@ - @@ -23655,7 +23654,6 @@ - @@ -24948,8 +24946,6 @@ - - @@ -25159,7 +25155,6 @@ - diff --git a/include/libxml/globals.h b/include/libxml/globals.h index 3e78feb6..1173a8f1 100644 --- a/include/libxml/globals.h +++ b/include/libxml/globals.h @@ -28,6 +28,13 @@ extern "C" { XMLPUBFUN void XMLCALL xmlInitGlobals(void); XMLPUBFUN void XMLCALL xmlCleanupGlobals(void); +typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc); +typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression); +XMLPUBFUN xmlParserInputBufferCreateFilenameFunc +XMLCALL xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func); +XMLPUBFUN xmlOutputBufferCreateFilenameFunc +XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func); + /* * Externally global symbols which need to be protected for backwards * compatibility support. diff --git a/include/libxml/xmlIO.h b/include/libxml/xmlIO.h index 8aad7a66..f50a3f94 100644 --- a/include/libxml/xmlIO.h +++ b/include/libxml/xmlIO.h @@ -62,9 +62,6 @@ typedef int (*xmlInputReadCallback) (void * context, char * buffer, int len); */ typedef int (*xmlInputCloseCallback) (void * context); -typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc); -typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression); - #ifdef LIBXML_OUTPUT_ENABLED /* * Those are the functions and datatypes for the library output @@ -210,11 +207,6 @@ XMLPUBFUN int XMLCALL xmlInputReadCallback readFunc, xmlInputCloseCallback closeFunc); -XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL - xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func); -XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL - xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func); - xmlParserInputBufferPtr __xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc);