1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-22 04:01:59 +03:00

Updated the documentation, Daniel

This commit is contained in:
Daniel Veillard
2000-01-05 14:58:39 +00:00
parent f686871b10
commit f3a7358dca
13 changed files with 6493 additions and 1394 deletions

View File

@ -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 @@ HREF="gnome-xml-debugxml.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
@ -102,22 +99,19 @@ ALIGN="right"
></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&nbsp;--&nbsp;</DIV
>xmlmemory &#8212; </DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN10663"
NAME="AEN12123"
></A
><H2
>Synopsis</H2
@ -178,6 +172,14 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMDISPLAY"
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 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUPLOC"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10684"
NAME="AEN12146"
></A
><H2
>Description</H2
@ -226,14 +228,14 @@ NAME="AEN10684"
><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 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define NO_DEBUG_MEMORY</PRE
>#define NO_DEBUG_MEMORY</PRE
></TD
></TR
></TABLE
@ -259,7 +261,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10694"
NAME="AEN12156"
></A
><H3
><A
@ -322,7 +324,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10710"
NAME="AEN12172"
></A
><H3
><A
@ -388,7 +390,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10727"
NAME="AEN12189"
></A
><H3
><A
@ -472,7 +474,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10748"
NAME="AEN12210"
></A
><H3
><A
@ -540,7 +542,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
>a pointer to the new string or NULL if allocation error occured.</TD
></TR
></TABLE
><P
@ -550,7 +552,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10768"
NAME="AEN12230"
></A
><H3
><A
@ -598,7 +600,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
>0 on success</TD
></TR
></TABLE
><P
@ -608,7 +610,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10783"
NAME="AEN12245"
></A
><H3
><A
@ -656,7 +658,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
>an int representing the amount of memory allocated.</TD
></TR
></TABLE
><P
@ -666,7 +668,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10798"
NAME="AEN12260"
></A
><H3
><A
@ -694,7 +696,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10804"
NAME="AEN12266"
></A
><H3
><A
@ -747,7 +749,8 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</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 @@ VALIGN="TOP"
><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
>&nbsp;:</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
>&nbsp;:</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 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define DEBUG_MEMORY_LOCATION</PRE
>#define DEBUG_MEMORY_LOCATION</PRE
></TD
></TR
></TABLE
@ -783,7 +873,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10825"
NAME="AEN12308"
></A
><H3
><A
@ -799,7 +889,7 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define DEBUG_MEMORY</PRE
>#define DEBUG_MEMORY</PRE
></TD
></TR
></TABLE
@ -809,7 +899,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10830"
NAME="AEN12313"
></A
><H3
><A
@ -825,7 +915,7 @@ CELLPADDING="6"
><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 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10835"
NAME="AEN12318"
></A
><H3
><A
@ -890,7 +980,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> an int specifying the size in byte to allocate.</TD
></TR
><TR
><TD
@ -907,7 +997,13 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the file name or NULL
<TT
CLASS="PARAMETER"
><I
>file</I
></TT
>: the line number</TD
></TR
><TR
><TD
@ -934,7 +1030,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10859"
NAME="AEN12343"
></A
><H3
><A
@ -990,7 +1086,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the initial memory block pointer</TD
></TR
><TR
><TD
@ -1007,7 +1103,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> an int specifying the size in byte to allocate.</TD
></TR
><TR
><TD
@ -1024,7 +1120,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> the line number</TD
> the file name or NULL</TD
></TR
><TR
><TD
@ -1051,7 +1147,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10887"
NAME="AEN12371"
></A
><H3
><A
@ -1123,7 +1219,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> the line number</TD
> the file name or NULL</TD
></TR
><TR
><TD
@ -1155,7 +1251,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
>a pointer to the new string or NULL if allocation error occured.</TD
></TR
></TABLE
><P