- win32config.h.in: updated
- xmlversion.h.in: crap forgot to update this, this mean 2.1.0
lacks iconv support :-( need to release 2.1.1
- configure.in: release 2.1.1
- HTMLparser: fixed bug #14784
- xpath.c HTMLparser.c encoding.c parser.c: fix warning raised
by Windows compiler
- HTMLparser.c SAX.c HTMLtree.h tree.h: create HTML document in
the SAX startDocument() callback.
- TODO: updated
- rebuild doc
Daniel
diff --git a/doc/html/gnome-xml-xmlmemory.html b/doc/html/gnome-xml-xmlmemory.html
index 68ecd45..4244bf4 100644
--- a/doc/html/gnome-xml-xmlmemory.html
+++ b/doc/html/gnome-xml-xmlmemory.html
@@ -4,7 +4,7 @@
>xmlmemory</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
+CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@@ -17,9 +17,6 @@
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
-LINK="#0000FF"
-VLINK="#840084"
-ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
@@ -102,22 +99,19 @@
></TABLE
></DIV
><H1
-><A
-NAME="GNOME-XML-XMLMEMORY"
->xmlmemory</A
-></H1
+>xmlmemory</H1
><DIV
CLASS="REFNAMEDIV"
><A
-NAME="AEN11337"
+NAME="AEN14634"
></A
><H2
>Name</H2
->xmlmemory -- </DIV
+>xmlmemory — </DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN11340"
+NAME="AEN14637"
></A
><H2
>Synopsis</H2
@@ -133,26 +127,84 @@
>
#define <A
-HREF="gnome-xml-xmlmemory.html#NO-DEBUG-MEMORY"
->NO_DEBUG_MEMORY</A
+HREF="gnome-xml-xmlmemory.html#DEBUG-MEMORY"
+>DEBUG_MEMORY</A
>
-void <A
+#define <A
+HREF="gnome-xml-xmlmemory.html#MEM-LIST"
+>MEM_LIST</A
+>
+void (<A
+HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
+>*xmlFreeFunc</A
+>) (void*);
+void* (<A
+HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
+>*xmlMallocFunc</A
+>) (...);
+void* (<A
+HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
+>*xmlReallocFunc</A
+>) (void*,
+ ...);
+char* (<A
+HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
+>*xmlStrdupFunc</A
+>) (const char*);
+extern xmlFreeFunc <A
HREF="gnome-xml-xmlmemory.html#XMLFREE"
>xmlFree</A
-> (void *ptr);
-void* <A
+>;
+extern xmlMallocFunc <A
HREF="gnome-xml-xmlmemory.html#XMLMALLOC"
>xmlMalloc</A
-> (int size);
-void* <A
+>;
+extern xmlReallocFunc <A
HREF="gnome-xml-xmlmemory.html#XMLREALLOC"
>xmlRealloc</A
-> (void *ptr,
- int size);
-char* <A
+>;
+extern xmlStrdupFunc <A
HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUP"
>xmlMemStrdup</A
-> (const char *str);
+>;
+int <A
+HREF="gnome-xml-xmlmemory.html#XMLMEMSETUP"
+>xmlMemSetup</A
+> (<A
+HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
+>xmlFreeFunc</A
+> freeFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
+>xmlMallocFunc</A
+> mallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
+>xmlReallocFunc</A
+> reallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
+>xmlStrdupFunc</A
+> strdupFunc);
+int <A
+HREF="gnome-xml-xmlmemory.html#XMLMEMGET"
+>xmlMemGet</A
+> (<A
+HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
+>xmlFreeFunc</A
+> *freeFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
+>xmlMallocFunc</A
+> *mallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
+>xmlReallocFunc</A
+> *reallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
+>xmlStrdupFunc</A
+> *strdupFunc);
int <A
HREF="gnome-xml-xmlmemory.html#XMLINITMEMORY"
>xmlInitMemory</A
@@ -162,10 +214,6 @@
>xmlMemUsed</A
> (void);
void <A
-HREF="gnome-xml-xmlmemory.html#XMLMEMORYDUMP"
->xmlMemoryDump</A
-> (void);
-void <A
HREF="gnome-xml-xmlmemory.html#XMLMEMDISPLAY"
>xmlMemDisplay</A
> (<GTKDOCLINK
@@ -180,18 +228,10 @@
>FILE</GTKDOCLINK
> *fp,
int nr);
-#define <A
-HREF="gnome-xml-xmlmemory.html#DEBUG-MEMORY-LOCATION"
->DEBUG_MEMORY_LOCATION</A
->
-#define <A
-HREF="gnome-xml-xmlmemory.html#DEBUG-MEMORY"
->DEBUG_MEMORY</A
->
-#define <A
-HREF="gnome-xml-xmlmemory.html#MEM-LIST"
->MEM_LIST</A
->
+void <A
+HREF="gnome-xml-xmlmemory.html#XMLMEMORYDUMP"
+>xmlMemoryDump</A
+> (void);
void* <A
HREF="gnome-xml-xmlmemory.html#XMLMALLOCLOC"
>xmlMallocLoc</A
@@ -218,7 +258,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN11361"
+NAME="AEN14670"
></A
><H2
>Description</H2
@@ -228,20 +268,20 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN11364"
+NAME="AEN14673"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11366"
+NAME="AEN14675"
></A
><H3
><A
-NAME="NO-DEBUG-MEMORY"
+NAME="DEBUG-MEMORY"
></A
->NO_DEBUG_MEMORY</H3
+>DEBUG_MEMORY</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -251,7 +291,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define NO_DEBUG_MEMORY</PRE
+>#define DEBUG_MEMORY</PRE
></TD
></TR
></TABLE
@@ -261,13 +301,13 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11371"
+NAME="AEN14680"
></A
><H3
><A
-NAME="XMLFREE"
+NAME="MEM-LIST"
></A
->xmlFree ()</H3
+>MEM_LIST</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -277,15 +317,36 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->void xmlFree (void *ptr);</PRE
+>#define MEM_LIST /* keep a list of all the allocated memory blocks */</PRE
></TD
></TR
></TABLE
><P
->a <GTKDOCLINK
-HREF="FREE"
->free</GTKDOCLINK
->() equivalent, with error checking.</P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN14685"
+></A
+><H3
+><A
+NAME="XMLFREEFUNC"
+></A
+>xmlFreeFunc ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void (*xmlFreeFunc) (void*);</PRE
+></TD
+></TR
+></TABLE
><P
></P
><DIV
@@ -307,7 +368,7 @@
><TT
CLASS="PARAMETER"
><I
->ptr</I
+>Param1</I
></TT
> :</TD
><TD
@@ -324,13 +385,13 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11387"
+NAME="AEN14699"
></A
><H3
><A
-NAME="XMLMALLOC"
+NAME="XMLMALLOCFUNC"
></A
->xmlMalloc ()</H3
+>xmlMallocFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -340,16 +401,11 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->void* xmlMalloc (int size);</PRE
+>void* (*xmlMallocFunc) (...);</PRE
></TD
></TR
></TABLE
><P
->a <GTKDOCLINK
-HREF="MALLOC"
->malloc</GTKDOCLINK
->() equivalent, with logging of the allocation info.</P
-><P
></P
><DIV
CLASS="INFORMALTABLE"
@@ -370,7 +426,7 @@
><TT
CLASS="PARAMETER"
><I
->size</I
+>...</I
></TT
> :</TD
><TD
@@ -387,13 +443,13 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11403"
+NAME="AEN14713"
></A
><H3
><A
-NAME="XMLREALLOC"
+NAME="XMLREALLOCFUNC"
></A
->xmlRealloc ()</H3
+>xmlReallocFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -403,17 +459,12 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->void* xmlRealloc (void *ptr,
- int size);</PRE
+>void* (*xmlReallocFunc) (void*,
+ ...);</PRE
></TD
></TR
></TABLE
><P
->a <GTKDOCLINK
-HREF="REALLOC"
->realloc</GTKDOCLINK
->() equivalent, with logging of the allocation info.</P
-><P
></P
><DIV
CLASS="INFORMALTABLE"
@@ -434,7 +485,7 @@
><TT
CLASS="PARAMETER"
><I
->ptr</I
+>Param1</I
></TT
> :</TD
><TD
@@ -451,7 +502,7 @@
><TT
CLASS="PARAMETER"
><I
->size</I
+>...</I
></TT
> :</TD
><TD
@@ -468,13 +519,13 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11423"
+NAME="AEN14731"
></A
><H3
><A
-NAME="XMLMEMSTRDUP"
+NAME="XMLSTRDUPFUNC"
></A
->xmlMemStrdup ()</H3
+>xmlStrdupFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -484,16 +535,11 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->char* xmlMemStrdup (const char *str);</PRE
+>char* (*xmlStrdupFunc) (const char*);</PRE
></TD
></TR
></TABLE
><P
->a <GTKDOCLINK
-HREF="STRDUP"
->strdup</GTKDOCLINK
->() equivalent, with logging of the allocation info.</P
-><P
></P
><DIV
CLASS="INFORMALTABLE"
@@ -514,7 +560,7 @@
><TT
CLASS="PARAMETER"
><I
->str</I
+>Param1</I
></TT
> :</TD
><TD
@@ -546,7 +592,421 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11443"
+NAME="AEN14749"
+></A
+><H3
+><A
+NAME="XMLFREE"
+></A
+>xmlFree</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>extern xmlFreeFunc xmlFree;</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN14754"
+></A
+><H3
+><A
+NAME="XMLMALLOC"
+></A
+>xmlMalloc</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>extern xmlMallocFunc xmlMalloc;</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN14759"
+></A
+><H3
+><A
+NAME="XMLREALLOC"
+></A
+>xmlRealloc</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>extern xmlReallocFunc xmlRealloc;</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN14764"
+></A
+><H3
+><A
+NAME="XMLMEMSTRDUP"
+></A
+>xmlMemStrdup</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>extern xmlStrdupFunc xmlMemStrdup;</PRE
+></TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN14769"
+></A
+><H3
+><A
+NAME="XMLMEMSETUP"
+></A
+>xmlMemSetup ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>int xmlMemSetup (<A
+HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
+>xmlFreeFunc</A
+> freeFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
+>xmlMallocFunc</A
+> mallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
+>xmlReallocFunc</A
+> reallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
+>xmlStrdupFunc</A
+> strdupFunc);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Override the default memory access functions with a new set
+This has to be called before any other libxml routines !</P
+><P
+>Should this be blocked if there was already some allocations
+done ?</P
+><P
+></P
+><DIV
+CLASS="INFORMALTABLE"
+><P
+></P
+><TABLE
+BORDER="0"
+WIDTH="100%"
+BGCOLOR="#FFD0D0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>freeFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="FREE"
+>free</GTKDOCLINK
+>() function to use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>mallocFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="MALLOC"
+>malloc</GTKDOCLINK
+>() function to use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>reallocFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="REALLOC"
+>realloc</GTKDOCLINK
+>() function to use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>strdupFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="STRDUP"
+>strdup</GTKDOCLINK
+>() function to use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>0 on success</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN14809"
+></A
+><H3
+><A
+NAME="XMLMEMGET"
+></A
+>xmlMemGet ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>int xmlMemGet (<A
+HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
+>xmlFreeFunc</A
+> *freeFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
+>xmlMallocFunc</A
+> *mallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
+>xmlReallocFunc</A
+> *reallocFunc,
+ <A
+HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
+>xmlStrdupFunc</A
+> *strdupFunc);</PRE
+></TD
+></TR
+></TABLE
+><P
+>Return the memory access functions set currently in use</P
+><P
+></P
+><DIV
+CLASS="INFORMALTABLE"
+><P
+></P
+><TABLE
+BORDER="0"
+WIDTH="100%"
+BGCOLOR="#FFD0D0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>freeFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="FREE"
+>free</GTKDOCLINK
+>() function in use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>mallocFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="MALLOC"
+>malloc</GTKDOCLINK
+>() function in use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>reallocFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="REALLOC"
+>realloc</GTKDOCLINK
+>() function in use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>strdupFunc</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> the <GTKDOCLINK
+HREF="STRDUP"
+>strdup</GTKDOCLINK
+>() function in use</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><I
+CLASS="EMPHASIS"
+>Returns</I
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+>0 on success</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN14848"
></A
><H3
><A
@@ -594,7 +1054,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>0 on success</TD
></TR
></TABLE
><P
@@ -604,7 +1064,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11458"
+NAME="AEN14863"
></A
><H3
><A
@@ -652,7 +1112,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>an int representing the amount of memory allocated.</TD
></TR
></TABLE
><P
@@ -662,35 +1122,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11473"
-></A
-><H3
-><A
-NAME="XMLMEMORYDUMP"
-></A
->xmlMemoryDump ()</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->void xmlMemoryDump (void);</PRE
-></TD
-></TR
-></TABLE
-><P
->Dump in-extenso the memory blocks allocated to the file .memorylist</P
-><P
-></P
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN11479"
+NAME="AEN14878"
></A
><H3
><A
@@ -743,7 +1175,8 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> a FILE descriptor used as the output file, if NULL, the result is
+written to the file .memorylist</TD
></TR
></TABLE
><P
@@ -753,7 +1186,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11495"
+NAME="AEN14894"
></A
><H3
><A
@@ -813,7 +1246,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> a FILE descriptor used as the output file</TD
></TR
><TR
><TD
@@ -830,7 +1263,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> number of entries to dump</TD
></TR
></TABLE
><P
@@ -840,13 +1273,13 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11516"
+NAME="AEN14915"
></A
><H3
><A
-NAME="DEBUG-MEMORY-LOCATION"
+NAME="XMLMEMORYDUMP"
></A
->DEBUG_MEMORY_LOCATION</H3
+>xmlMemoryDump ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
@@ -856,69 +1289,19 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define DEBUG_MEMORY_LOCATION</PRE
+>void xmlMemoryDump (void);</PRE
></TD
></TR
></TABLE
><P
+>Dump in-extenso the memory blocks allocated to the file .memorylist</P
+><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11521"
-></A
-><H3
-><A
-NAME="DEBUG-MEMORY"
-></A
->DEBUG_MEMORY</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->#define DEBUG_MEMORY</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN11526"
-></A
-><H3
-><A
-NAME="MEM-LIST"
-></A
->MEM_LIST</H3
-><TABLE
-BORDER="0"
-BGCOLOR="#D6E8FF"
-WIDTH="100%"
-CELLPADDING="6"
-><TR
-><TD
-><PRE
-CLASS="PROGRAMLISTING"
->#define MEM_LIST</PRE
-></TD
-></TR
-></TABLE
-><P
-></P
-></DIV
-><HR><DIV
-CLASS="REFSECT2"
-><A
-NAME="AEN11531"
+NAME="AEN14921"
></A
><H3
><A
@@ -973,7 +1356,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> an int specifying the size in byte to allocate.</TD
></TR
><TR
><TD
@@ -990,7 +1373,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the line number</TD
+> the file name or NULL</TD
></TR
><TR
><TD
@@ -1007,7 +1390,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the line number</TD
></TR
></TABLE
><P
@@ -1017,7 +1400,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11555"
+NAME="AEN14945"
></A
><H3
><A
@@ -1073,7 +1456,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the initial memory block pointer</TD
></TR
><TR
><TD
@@ -1090,7 +1473,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> an int specifying the size in byte to allocate.</TD
></TR
><TR
><TD
@@ -1107,7 +1490,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the line number</TD
+> the file name or NULL</TD
></TR
><TR
><TD
@@ -1124,7 +1507,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the line number</TD
></TR
></TABLE
><P
@@ -1134,7 +1517,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN11583"
+NAME="AEN14973"
></A
><H3
><A
@@ -1206,7 +1589,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the line number</TD
+> the file name or NULL</TD
></TR
><TR
><TD
@@ -1223,7 +1606,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the line number</TD
></TR
><TR
><TD
@@ -1238,7 +1621,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>a pointer to the new string or NULL if allocation error occured.</TD
></TR
></TABLE
><P