Updated the documentation, Daniel
diff --git a/doc/html/gnome-xml-xmlmemory.html b/doc/html/gnome-xml-xmlmemory.html
index cefaf81..f7aae4f 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="AEN10660"
+NAME="AEN12120"
></A
><H2
>Name</H2
->xmlmemory -- </DIV
+>xmlmemory — </DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN10663"
+NAME="AEN12123"
></A
><H2
>Synopsis</H2
@@ -178,6 +172,14 @@
HREF="FILE"
>FILE</GTKDOCLINK
> *fp);
+void <A
+HREF="gnome-xml-xmlmemory.html#XMLMEMSHOW"
+>xmlMemShow</A
+> (<GTKDOCLINK
+HREF="FILE"
+>FILE</GTKDOCLINK
+> *fp,
+ int nr);
#define <A
HREF="gnome-xml-xmlmemory.html#DEBUG-MEMORY-LOCATION"
>DEBUG_MEMORY_LOCATION</A
@@ -216,7 +218,7 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN10684"
+NAME="AEN12146"
></A
><H2
>Description</H2
@@ -226,14 +228,14 @@
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN10687"
+NAME="AEN12149"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10689"
+NAME="AEN12151"
></A
><H3
><A
@@ -249,7 +251,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define NO_DEBUG_MEMORY</PRE
+>#define NO_DEBUG_MEMORY</PRE
></TD
></TR
></TABLE
@@ -259,7 +261,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10694"
+NAME="AEN12156"
></A
><H3
><A
@@ -322,7 +324,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10710"
+NAME="AEN12172"
></A
><H3
><A
@@ -388,7 +390,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10727"
+NAME="AEN12189"
></A
><H3
><A
@@ -472,7 +474,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10748"
+NAME="AEN12210"
></A
><H3
><A
@@ -540,7 +542,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>a pointer to the new string or NULL if allocation error occured.</TD
></TR
></TABLE
><P
@@ -550,7 +552,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10768"
+NAME="AEN12230"
></A
><H3
><A
@@ -598,7 +600,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>0 on success</TD
></TR
></TABLE
><P
@@ -608,7 +610,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10783"
+NAME="AEN12245"
></A
><H3
><A
@@ -656,7 +658,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>an int representing the amount of memory allocated.</TD
></TR
></TABLE
><P
@@ -666,7 +668,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10798"
+NAME="AEN12260"
></A
><H3
><A
@@ -694,7 +696,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10804"
+NAME="AEN12266"
></A
><H3
><A
@@ -747,7 +749,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
@@ -757,7 +760,94 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10820"
+NAME="AEN12282"
+></A
+><H3
+><A
+NAME="XMLMEMSHOW"
+></A
+>xmlMemShow ()</H3
+><TABLE
+BORDER="0"
+BGCOLOR="#D6E8FF"
+WIDTH="100%"
+CELLPADDING="6"
+><TR
+><TD
+><PRE
+CLASS="PROGRAMLISTING"
+>void xmlMemShow (<GTKDOCLINK
+HREF="FILE"
+>FILE</GTKDOCLINK
+> *fp,
+ int nr);</PRE
+></TD
+></TR
+></TABLE
+><P
+>show a show display of the memory allocated, and dump
+the <TT
+CLASS="PARAMETER"
+><I
+>nr</I
+></TT
+> last allocated areas which were not freed</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
+>fp</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> a FILE descriptor used as the output file</TD
+></TR
+><TR
+><TD
+WIDTH="20%"
+ALIGN="RIGHT"
+VALIGN="TOP"
+><TT
+CLASS="PARAMETER"
+><I
+>nr</I
+></TT
+> :</TD
+><TD
+WIDTH="80%"
+ALIGN="LEFT"
+VALIGN="TOP"
+> number of entries to dump</TD
+></TR
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><HR><DIV
+CLASS="REFSECT2"
+><A
+NAME="AEN12303"
></A
><H3
><A
@@ -773,7 +863,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define DEBUG_MEMORY_LOCATION</PRE
+>#define DEBUG_MEMORY_LOCATION</PRE
></TD
></TR
></TABLE
@@ -783,7 +873,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10825"
+NAME="AEN12308"
></A
><H3
><A
@@ -799,7 +889,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define DEBUG_MEMORY</PRE
+>#define DEBUG_MEMORY</PRE
></TD
></TR
></TABLE
@@ -809,7 +899,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10830"
+NAME="AEN12313"
></A
><H3
><A
@@ -825,7 +915,7 @@
><TD
><PRE
CLASS="PROGRAMLISTING"
->#define MEM_LIST</PRE
+>#define MEM_LIST /* keep a list of all the allocated memory blocks */</PRE
></TD
></TR
></TABLE
@@ -835,7 +925,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10835"
+NAME="AEN12318"
></A
><H3
><A
@@ -890,7 +980,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> an int specifying the size in byte to allocate.</TD
></TR
><TR
><TD
@@ -907,7 +997,13 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the file name or NULL
+ <TT
+CLASS="PARAMETER"
+><I
+>file</I
+></TT
+>: the line number</TD
></TR
><TR
><TD
@@ -934,7 +1030,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10859"
+NAME="AEN12343"
></A
><H3
><A
@@ -990,7 +1086,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> the initial memory block pointer</TD
></TR
><TR
><TD
@@ -1007,7 +1103,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+> an int specifying the size in byte to allocate.</TD
></TR
><TR
><TD
@@ -1024,7 +1120,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the line number</TD
+> the file name or NULL</TD
></TR
><TR
><TD
@@ -1051,7 +1147,7 @@
><HR><DIV
CLASS="REFSECT2"
><A
-NAME="AEN10887"
+NAME="AEN12371"
></A
><H3
><A
@@ -1123,7 +1219,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> the line number</TD
+> the file name or NULL</TD
></TR
><TR
><TD
@@ -1155,7 +1251,7 @@
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
-> </TD
+>a pointer to the new string or NULL if allocation error occured.</TD
></TR
></TABLE
><P