blob: dc4d74e136916890d986cc9fba3a62c1b93f247d [file] [log] [blame]
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001<HTML
2><HEAD
3><TITLE
4>xmlmemory</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardbed7b052001-05-19 14:59:49 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
Daniel Veillard7c1206f1999-10-14 09:10:25 +00008REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
Daniel Veillard35008381999-10-25 13:15:52 +000012TITLE="Libxml Library Reference"
13HREF="libxml-lib.html"><LINK
Daniel Veillard7c1206f1999-10-14 09:10:25 +000014REL="PREVIOUS"
Daniel Veillard294cbca1999-12-03 13:19:09 +000015TITLE="debugXML"
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000016HREF="libxml-debugxml.html"></HEAD
Daniel Veillard7c1206f1999-10-14 09:10:25 +000017><BODY
Daniel Veillardbed7b052001-05-19 14:59:49 +000018CLASS="REFENTRY"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000019BGCOLOR="#FFFFFF"
20TEXT="#000000"
Daniel Veillard503b8932001-01-05 06:36:31 +000021LINK="#0000FF"
22VLINK="#840084"
23ALINK="#0000FF"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000024><DIV
25CLASS="NAVHEADER"
26><TABLE
27WIDTH="100%"
28BORDER="0"
29BGCOLOR="#000000"
30CELLPADDING="1"
31CELLSPACING="0"
32><TR
33><TH
34COLSPAN="4"
35ALIGN="center"
36><FONT
37COLOR="#FFFFFF"
38SIZE="5"
39>Gnome XML Library Reference Manual</FONT
40></TH
41></TR
42><TR
43><TD
44WIDTH="25%"
45BGCOLOR="#C00000"
46ALIGN="left"
47><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +000048HREF="libxml-debugxml.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000049><FONT
50COLOR="#FFFFFF"
51SIZE="3"
52><B
53>&#60;&#60;&#60; Previous Page</B
54></FONT
55></A
56></TD
57><TD
58WIDTH="25%"
59BGCOLOR="#0000C0"
60ALIGN="center"
61><FONT
62COLOR="#FFFFFF"
63SIZE="3"
64><B
65><A
66HREF="book1.html"
67><FONT
68COLOR="#FFFFFF"
69SIZE="3"
70><B
71>Home</B
72></FONT
73></A
74></B
75></FONT
76></TD
77><TD
78WIDTH="25%"
79BGCOLOR="#00C000"
80ALIGN="center"
81><FONT
82COLOR="#FFFFFF"
83SIZE="3"
84><B
85><A
Daniel Veillard35008381999-10-25 13:15:52 +000086HREF="libxml-lib.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000087><FONT
88COLOR="#FFFFFF"
89SIZE="3"
90><B
91>Up</B
92></FONT
93></A
94></B
95></FONT
96></TD
97><TD
98WIDTH="25%"
99BGCOLOR="#C00000"
100ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +0000101>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000102></TR
103></TABLE
104></DIV
105><H1
Daniel Veillard503b8932001-01-05 06:36:31 +0000106><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000107NAME="LIBXML-XMLMEMORY"
Daniel Veillard503b8932001-01-05 06:36:31 +0000108>xmlmemory</A
109></H1
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000110><DIV
111CLASS="REFNAMEDIV"
112><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000113NAME="AEN21937"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000114></A
115><H2
116>Name</H2
Daniel Veillard503b8932001-01-05 06:36:31 +0000117>xmlmemory&nbsp;--&nbsp;</DIV
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000118><DIV
119CLASS="REFSYNOPSISDIV"
120><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000121NAME="AEN21940"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000122></A
123><H2
124>Synopsis</H2
125><TABLE
126BORDER="0"
127BGCOLOR="#D6E8FF"
128WIDTH="100%"
129CELLPADDING="6"
130><TR
131><TD
132><PRE
133CLASS="SYNOPSIS"
134>&#13;
135
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000136#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000137HREF="libxml-xmlmemory.html#DEBUG-MEMORY-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000138>DEBUG_MEMORY</A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000139>
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000140#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000141HREF="libxml-xmlmemory.html#MEM-LIST-CAPS"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000142>MEM_LIST</A
143>
144void (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000145HREF="libxml-xmlmemory.html#XMLFREEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000146>*xmlFreeFunc</A
147>) (void*);
148void* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000149HREF="libxml-xmlmemory.html#XMLMALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000150>*xmlMallocFunc</A
151>) (...);
152void* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000153HREF="libxml-xmlmemory.html#XMLREALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000154>*xmlReallocFunc</A
155>) (void*,
156 ...);
157char* (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000158HREF="libxml-xmlmemory.html#XMLSTRDUPFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000159>*xmlStrdupFunc</A
160>) (const char*);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000161int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000162HREF="libxml-xmlmemory.html#XMLMEMSETUP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000163>xmlMemSetup</A
164> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000165HREF="libxml-xmlmemory.html#XMLFREEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000166>xmlFreeFunc</A
167> freeFunc,
168 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000169HREF="libxml-xmlmemory.html#XMLMALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000170>xmlMallocFunc</A
171> mallocFunc,
172 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000173HREF="libxml-xmlmemory.html#XMLREALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000174>xmlReallocFunc</A
175> reallocFunc,
176 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000177HREF="libxml-xmlmemory.html#XMLSTRDUPFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000178>xmlStrdupFunc</A
179> strdupFunc);
180int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000181HREF="libxml-xmlmemory.html#XMLMEMGET"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000182>xmlMemGet</A
183> (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000184HREF="libxml-xmlmemory.html#XMLFREEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000185>xmlFreeFunc</A
186> *freeFunc,
187 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000188HREF="libxml-xmlmemory.html#XMLMALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000189>xmlMallocFunc</A
190> *mallocFunc,
191 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000192HREF="libxml-xmlmemory.html#XMLREALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000193>xmlReallocFunc</A
194> *reallocFunc,
195 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000196HREF="libxml-xmlmemory.html#XMLSTRDUPFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000197>xmlStrdupFunc</A
198> *strdupFunc);
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000199int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000200HREF="libxml-xmlmemory.html#XMLINITMEMORY"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000201>xmlInitMemory</A
202> (void);
203int <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000204HREF="libxml-xmlmemory.html#XMLMEMUSED"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000205>xmlMemUsed</A
206> (void);
207void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000208HREF="libxml-xmlmemory.html#XMLMEMDISPLAY"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000209>xmlMemDisplay</A
210> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000211HREF="FILE-CAPS"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000212>FILE</GTKDOCLINK
213> *fp);
Daniel Veillardf3a73582000-01-05 14:58:39 +0000214void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000215HREF="libxml-xmlmemory.html#XMLMEMSHOW"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000216>xmlMemShow</A
217> (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +0000218HREF="FILE-CAPS"
Daniel Veillardf3a73582000-01-05 14:58:39 +0000219>FILE</GTKDOCLINK
220> *fp,
221 int nr);
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000222void <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000223HREF="libxml-xmlmemory.html#XMLMEMORYDUMP"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000224>xmlMemoryDump</A
225> (void);
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000226#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000227HREF="libxml-xmlmemory.html#XMLMALLOC"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000228>xmlMalloc</A
229> (x)
230#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000231HREF="libxml-xmlmemory.html#XMLREALLOC"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000232>xmlRealloc</A
233> (p, x)
234#define <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000235HREF="libxml-xmlmemory.html#XMLMEMSTRDUP"
Daniel Veillarda1fe9102000-11-25 10:49:25 +0000236>xmlMemStrdup</A
237> (x)
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000238void* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000239HREF="libxml-xmlmemory.html#XMLMALLOCLOC"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000240>xmlMallocLoc</A
241> (int size,
242 const char *file,
243 int line);
244void* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000245HREF="libxml-xmlmemory.html#XMLREALLOCLOC"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000246>xmlReallocLoc</A
247> (void *ptr,
248 int size,
249 const char *file,
250 int line);
251char* <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000252HREF="libxml-xmlmemory.html#XMLMEMSTRDUPLOC"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000253>xmlMemStrdupLoc</A
254> (const char *str,
255 const char *file,
256 int line);</PRE
257></TD
258></TR
259></TABLE
260></DIV
261><DIV
262CLASS="REFSECT1"
263><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000264NAME="AEN21972"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000265></A
266><H2
267>Description</H2
268><P
269></P
270></DIV
271><DIV
272CLASS="REFSECT1"
273><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000274NAME="AEN21975"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000275></A
276><H2
277>Details</H2
278><DIV
279CLASS="REFSECT2"
280><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000281NAME="AEN21977"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000282></A
283><H3
284><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000285NAME="DEBUG-MEMORY-CAPS"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000286></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000287>DEBUG_MEMORY</H3
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000288><TABLE
289BORDER="0"
290BGCOLOR="#D6E8FF"
291WIDTH="100%"
292CELLPADDING="6"
293><TR
294><TD
295><PRE
296CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000297>#define DEBUG_MEMORY</PRE
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000298></TD
299></TR
300></TABLE
301><P
Daniel Veillardbed7b052001-05-19 14:59:49 +0000302>should be activated only done when debugging libxml. It replaces the
303allocator with a collect and debug shell to the libc allocator.
304DEBUG_MEMORY should be activated only when debugging
305libxml i.e. if libxml has been configured with --with-debug-mem too</P
306><P
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000307></P
308></DIV
309><HR><DIV
310CLASS="REFSECT2"
311><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000312NAME="AEN21983"
Daniel Veillard8f621982000-03-20 13:07:15 +0000313></A
314><H3
315><A
Daniel Veillard503b8932001-01-05 06:36:31 +0000316NAME="MEM-LIST-CAPS"
Daniel Veillard8f621982000-03-20 13:07:15 +0000317></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000318>MEM_LIST</H3
Daniel Veillard8f621982000-03-20 13:07:15 +0000319><TABLE
320BORDER="0"
321BGCOLOR="#D6E8FF"
322WIDTH="100%"
323CELLPADDING="6"
324><TR
325><TD
326><PRE
327CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000328>#define MEM_LIST /* keep a list of all the allocated memory blocks */</PRE
Daniel Veillard8f621982000-03-20 13:07:15 +0000329></TD
330></TR
331></TABLE
332><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000333></P
334></DIV
335><HR><DIV
336CLASS="REFSECT2"
337><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000338NAME="AEN21988"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000339></A
340><H3
341><A
342NAME="XMLFREEFUNC"
343></A
344>xmlFreeFunc ()</H3
345><TABLE
346BORDER="0"
347BGCOLOR="#D6E8FF"
348WIDTH="100%"
349CELLPADDING="6"
350><TR
351><TD
352><PRE
353CLASS="PROGRAMLISTING"
354>void (*xmlFreeFunc) (void*);</PRE
355></TD
356></TR
357></TABLE
Daniel Veillard06047432000-04-24 11:33:38 +0000358><P
359></P
360><DIV
361CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000362><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000363NAME="AEN21993"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000364></A
Daniel Veillard06047432000-04-24 11:33:38 +0000365><P
366></P
367><TABLE
368BORDER="0"
369WIDTH="100%"
370BGCOLOR="#FFD0D0"
371CELLSPACING="0"
372CELLPADDING="4"
373CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000374><TBODY
Daniel Veillard06047432000-04-24 11:33:38 +0000375><TR
376><TD
377WIDTH="20%"
378ALIGN="RIGHT"
379VALIGN="TOP"
380><TT
381CLASS="PARAMETER"
382><I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000383>Param1</I
Daniel Veillard06047432000-04-24 11:33:38 +0000384></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000385>&nbsp;:</TD
Daniel Veillard06047432000-04-24 11:33:38 +0000386><TD
387WIDTH="80%"
388ALIGN="LEFT"
389VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000390>&nbsp;</TD
Daniel Veillard06047432000-04-24 11:33:38 +0000391></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000392></TBODY
Daniel Veillard06047432000-04-24 11:33:38 +0000393></TABLE
394><P
Daniel Veillard8f621982000-03-20 13:07:15 +0000395></P
396></DIV
Daniel Veillard06047432000-04-24 11:33:38 +0000397></DIV
Daniel Veillard8f621982000-03-20 13:07:15 +0000398><HR><DIV
399CLASS="REFSECT2"
400><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000401NAME="AEN22002"
Daniel Veillard8f621982000-03-20 13:07:15 +0000402></A
403><H3
404><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000405NAME="XMLMALLOCFUNC"
Daniel Veillard8f621982000-03-20 13:07:15 +0000406></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000407>xmlMallocFunc ()</H3
Daniel Veillard8f621982000-03-20 13:07:15 +0000408><TABLE
409BORDER="0"
410BGCOLOR="#D6E8FF"
411WIDTH="100%"
412CELLPADDING="6"
413><TR
414><TD
415><PRE
416CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000417>void* (*xmlMallocFunc) (...);</PRE
Daniel Veillard8f621982000-03-20 13:07:15 +0000418></TD
419></TR
420></TABLE
421><P
Daniel Veillard06047432000-04-24 11:33:38 +0000422></P
423><DIV
424CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000425><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000426NAME="AEN22007"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000427></A
Daniel Veillard06047432000-04-24 11:33:38 +0000428><P
429></P
430><TABLE
431BORDER="0"
432WIDTH="100%"
433BGCOLOR="#FFD0D0"
434CELLSPACING="0"
435CELLPADDING="4"
436CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000437><TBODY
Daniel Veillard06047432000-04-24 11:33:38 +0000438><TR
439><TD
440WIDTH="20%"
441ALIGN="RIGHT"
442VALIGN="TOP"
443><TT
444CLASS="PARAMETER"
445><I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000446>...</I
Daniel Veillard06047432000-04-24 11:33:38 +0000447></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000448>&nbsp;:</TD
Daniel Veillard06047432000-04-24 11:33:38 +0000449><TD
450WIDTH="80%"
451ALIGN="LEFT"
452VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000453>&nbsp;</TD
Daniel Veillard06047432000-04-24 11:33:38 +0000454></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000455></TBODY
Daniel Veillard06047432000-04-24 11:33:38 +0000456></TABLE
457><P
Daniel Veillard8f621982000-03-20 13:07:15 +0000458></P
459></DIV
Daniel Veillard06047432000-04-24 11:33:38 +0000460></DIV
Daniel Veillard8f621982000-03-20 13:07:15 +0000461><HR><DIV
462CLASS="REFSECT2"
463><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000464NAME="AEN22016"
Daniel Veillard8f621982000-03-20 13:07:15 +0000465></A
466><H3
467><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000468NAME="XMLREALLOCFUNC"
Daniel Veillard8f621982000-03-20 13:07:15 +0000469></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000470>xmlReallocFunc ()</H3
Daniel Veillard8f621982000-03-20 13:07:15 +0000471><TABLE
472BORDER="0"
473BGCOLOR="#D6E8FF"
474WIDTH="100%"
475CELLPADDING="6"
476><TR
477><TD
478><PRE
479CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000480>void* (*xmlReallocFunc) (void*,
481 ...);</PRE
Daniel Veillard8f621982000-03-20 13:07:15 +0000482></TD
483></TR
484></TABLE
485><P
Daniel Veillard06047432000-04-24 11:33:38 +0000486></P
487><DIV
488CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000489><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000490NAME="AEN22021"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000491></A
Daniel Veillard06047432000-04-24 11:33:38 +0000492><P
493></P
494><TABLE
495BORDER="0"
496WIDTH="100%"
497BGCOLOR="#FFD0D0"
498CELLSPACING="0"
499CELLPADDING="4"
500CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000501><TBODY
Daniel Veillard06047432000-04-24 11:33:38 +0000502><TR
503><TD
504WIDTH="20%"
505ALIGN="RIGHT"
506VALIGN="TOP"
507><TT
508CLASS="PARAMETER"
509><I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000510>Param1</I
Daniel Veillard06047432000-04-24 11:33:38 +0000511></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000512>&nbsp;:</TD
Daniel Veillard06047432000-04-24 11:33:38 +0000513><TD
514WIDTH="80%"
515ALIGN="LEFT"
516VALIGN="TOP"
517>&nbsp;</TD
518></TR
519><TR
520><TD
521WIDTH="20%"
522ALIGN="RIGHT"
523VALIGN="TOP"
524><TT
525CLASS="PARAMETER"
526><I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000527>...</I
Daniel Veillard06047432000-04-24 11:33:38 +0000528></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000529>&nbsp;:</TD
Daniel Veillard06047432000-04-24 11:33:38 +0000530><TD
531WIDTH="80%"
532ALIGN="LEFT"
533VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000534>&nbsp;</TD
Daniel Veillard06047432000-04-24 11:33:38 +0000535></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000536></TBODY
Daniel Veillard06047432000-04-24 11:33:38 +0000537></TABLE
538><P
Daniel Veillard8f621982000-03-20 13:07:15 +0000539></P
540></DIV
Daniel Veillard06047432000-04-24 11:33:38 +0000541></DIV
Daniel Veillard8f621982000-03-20 13:07:15 +0000542><HR><DIV
543CLASS="REFSECT2"
544><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000545NAME="AEN22034"
Daniel Veillard8f621982000-03-20 13:07:15 +0000546></A
547><H3
548><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000549NAME="XMLSTRDUPFUNC"
Daniel Veillard8f621982000-03-20 13:07:15 +0000550></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000551>xmlStrdupFunc ()</H3
Daniel Veillard8f621982000-03-20 13:07:15 +0000552><TABLE
553BORDER="0"
554BGCOLOR="#D6E8FF"
555WIDTH="100%"
556CELLPADDING="6"
557><TR
558><TD
559><PRE
560CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000561>char* (*xmlStrdupFunc) (const char*);</PRE
Daniel Veillard8f621982000-03-20 13:07:15 +0000562></TD
563></TR
564></TABLE
565><P
Daniel Veillard8f621982000-03-20 13:07:15 +0000566></P
567><DIV
568CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000569><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000570NAME="AEN22039"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000571></A
Daniel Veillard8f621982000-03-20 13:07:15 +0000572><P
573></P
574><TABLE
575BORDER="0"
576WIDTH="100%"
577BGCOLOR="#FFD0D0"
578CELLSPACING="0"
579CELLPADDING="4"
580CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000581><TBODY
Daniel Veillard8f621982000-03-20 13:07:15 +0000582><TR
583><TD
584WIDTH="20%"
585ALIGN="RIGHT"
586VALIGN="TOP"
587><TT
588CLASS="PARAMETER"
589><I
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000590>Param1</I
Daniel Veillard8f621982000-03-20 13:07:15 +0000591></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000592>&nbsp;:</TD
Daniel Veillard8f621982000-03-20 13:07:15 +0000593><TD
594WIDTH="80%"
595ALIGN="LEFT"
596VALIGN="TOP"
Daniel Veillard06047432000-04-24 11:33:38 +0000597>&nbsp;</TD
Daniel Veillard8f621982000-03-20 13:07:15 +0000598></TR
599><TR
600><TD
601WIDTH="20%"
602ALIGN="RIGHT"
603VALIGN="TOP"
604><I
605CLASS="EMPHASIS"
606>Returns</I
607> :</TD
608><TD
609WIDTH="80%"
610ALIGN="LEFT"
611VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000612>&nbsp;</TD
Daniel Veillard8f621982000-03-20 13:07:15 +0000613></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000614></TBODY
Daniel Veillard8f621982000-03-20 13:07:15 +0000615></TABLE
616><P
617></P
618></DIV
619></DIV
620><HR><DIV
621CLASS="REFSECT2"
622><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000623NAME="AEN22052"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000624></A
625><H3
626><A
627NAME="XMLMEMSETUP"
628></A
629>xmlMemSetup ()</H3
630><TABLE
631BORDER="0"
632BGCOLOR="#D6E8FF"
633WIDTH="100%"
634CELLPADDING="6"
635><TR
636><TD
637><PRE
638CLASS="PROGRAMLISTING"
639>int xmlMemSetup (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000640HREF="libxml-xmlmemory.html#XMLFREEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000641>xmlFreeFunc</A
642> freeFunc,
643 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000644HREF="libxml-xmlmemory.html#XMLMALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000645>xmlMallocFunc</A
646> mallocFunc,
647 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000648HREF="libxml-xmlmemory.html#XMLREALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000649>xmlReallocFunc</A
650> reallocFunc,
651 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000652HREF="libxml-xmlmemory.html#XMLSTRDUPFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000653>xmlStrdupFunc</A
654> strdupFunc);</PRE
655></TD
656></TR
657></TABLE
658><P
659>Override the default memory access functions with a new set
660This has to be called before any other libxml routines !</P
661><P
662>Should this be blocked if there was already some allocations
663done ?</P
664><P
665></P
666><DIV
667CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000668><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000669NAME="AEN22063"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000670></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000671><P
672></P
673><TABLE
674BORDER="0"
675WIDTH="100%"
676BGCOLOR="#FFD0D0"
677CELLSPACING="0"
678CELLPADDING="4"
679CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000680><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000681><TR
682><TD
683WIDTH="20%"
684ALIGN="RIGHT"
685VALIGN="TOP"
686><TT
687CLASS="PARAMETER"
688><I
689>freeFunc</I
690></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000691>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000692><TD
693WIDTH="80%"
694ALIGN="LEFT"
695VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000696> the <GTKDOCLINK
697HREF="FREE"
698>free</GTKDOCLINK
699>() function to use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000700></TR
701><TR
702><TD
703WIDTH="20%"
704ALIGN="RIGHT"
705VALIGN="TOP"
706><TT
707CLASS="PARAMETER"
708><I
709>mallocFunc</I
710></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000711>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000712><TD
713WIDTH="80%"
714ALIGN="LEFT"
715VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000716> the <GTKDOCLINK
717HREF="MALLOC"
718>malloc</GTKDOCLINK
719>() function to use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000720></TR
721><TR
722><TD
723WIDTH="20%"
724ALIGN="RIGHT"
725VALIGN="TOP"
726><TT
727CLASS="PARAMETER"
728><I
729>reallocFunc</I
730></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000731>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000732><TD
733WIDTH="80%"
734ALIGN="LEFT"
735VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000736> the <GTKDOCLINK
737HREF="REALLOC"
738>realloc</GTKDOCLINK
739>() function to use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000740></TR
741><TR
742><TD
743WIDTH="20%"
744ALIGN="RIGHT"
745VALIGN="TOP"
746><TT
747CLASS="PARAMETER"
748><I
749>strdupFunc</I
750></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000751>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000752><TD
753WIDTH="80%"
754ALIGN="LEFT"
755VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000756> the <GTKDOCLINK
757HREF="STRDUP"
758>strdup</GTKDOCLINK
759>() function to use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000760></TR
761><TR
762><TD
763WIDTH="20%"
764ALIGN="RIGHT"
765VALIGN="TOP"
766><I
767CLASS="EMPHASIS"
768>Returns</I
769> :</TD
770><TD
771WIDTH="80%"
772ALIGN="LEFT"
773VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000774>0 on success</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000775></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000776></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000777></TABLE
778><P
779></P
780></DIV
781></DIV
782><HR><DIV
783CLASS="REFSECT2"
784><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000785NAME="AEN22092"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000786></A
787><H3
788><A
789NAME="XMLMEMGET"
790></A
791>xmlMemGet ()</H3
792><TABLE
793BORDER="0"
794BGCOLOR="#D6E8FF"
795WIDTH="100%"
796CELLPADDING="6"
797><TR
798><TD
799><PRE
800CLASS="PROGRAMLISTING"
801>int xmlMemGet (<A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000802HREF="libxml-xmlmemory.html#XMLFREEFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000803>xmlFreeFunc</A
804> *freeFunc,
805 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000806HREF="libxml-xmlmemory.html#XMLMALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000807>xmlMallocFunc</A
808> *mallocFunc,
809 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000810HREF="libxml-xmlmemory.html#XMLREALLOCFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000811>xmlReallocFunc</A
812> *reallocFunc,
813 <A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +0000814HREF="libxml-xmlmemory.html#XMLSTRDUPFUNC"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000815>xmlStrdupFunc</A
816> *strdupFunc);</PRE
817></TD
818></TR
819></TABLE
820><P
821>Return the memory access functions set currently in use</P
822><P
823></P
824><DIV
825CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000826><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000827NAME="AEN22102"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000828></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000829><P
830></P
831><TABLE
832BORDER="0"
833WIDTH="100%"
834BGCOLOR="#FFD0D0"
835CELLSPACING="0"
836CELLPADDING="4"
837CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000838><TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000839><TR
840><TD
841WIDTH="20%"
842ALIGN="RIGHT"
843VALIGN="TOP"
844><TT
845CLASS="PARAMETER"
846><I
847>freeFunc</I
848></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000849>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000850><TD
851WIDTH="80%"
852ALIGN="LEFT"
853VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000854> the <GTKDOCLINK
855HREF="FREE"
856>free</GTKDOCLINK
857>() function in use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000858></TR
859><TR
860><TD
861WIDTH="20%"
862ALIGN="RIGHT"
863VALIGN="TOP"
864><TT
865CLASS="PARAMETER"
866><I
867>mallocFunc</I
868></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000869>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000870><TD
871WIDTH="80%"
872ALIGN="LEFT"
873VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000874> the <GTKDOCLINK
875HREF="MALLOC"
876>malloc</GTKDOCLINK
877>() function in use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000878></TR
879><TR
880><TD
881WIDTH="20%"
882ALIGN="RIGHT"
883VALIGN="TOP"
884><TT
885CLASS="PARAMETER"
886><I
887>reallocFunc</I
888></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000889>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000890><TD
891WIDTH="80%"
892ALIGN="LEFT"
893VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000894> the <GTKDOCLINK
895HREF="REALLOC"
896>realloc</GTKDOCLINK
897>() function in use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000898></TR
899><TR
900><TD
901WIDTH="20%"
902ALIGN="RIGHT"
903VALIGN="TOP"
904><TT
905CLASS="PARAMETER"
906><I
907>strdupFunc</I
908></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +0000909>&nbsp;:</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000910><TD
911WIDTH="80%"
912ALIGN="LEFT"
913VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000914> the <GTKDOCLINK
915HREF="STRDUP"
916>strdup</GTKDOCLINK
917>() function in use</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000918></TR
919><TR
920><TD
921WIDTH="20%"
922ALIGN="RIGHT"
923VALIGN="TOP"
924><I
925CLASS="EMPHASIS"
926>Returns</I
927> :</TD
928><TD
929WIDTH="80%"
930ALIGN="LEFT"
931VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000932>0 on success</TD
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000933></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000934></TBODY
Daniel Veillard3f6f7f62000-06-30 17:58:25 +0000935></TABLE
936><P
937></P
938></DIV
939></DIV
940><HR><DIV
941CLASS="REFSECT2"
942><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000943NAME="AEN22131"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000944></A
945><H3
946><A
947NAME="XMLINITMEMORY"
948></A
949>xmlInitMemory ()</H3
950><TABLE
951BORDER="0"
952BGCOLOR="#D6E8FF"
953WIDTH="100%"
954CELLPADDING="6"
955><TR
956><TD
957><PRE
958CLASS="PROGRAMLISTING"
959>int xmlInitMemory (void);</PRE
960></TD
961></TR
962></TABLE
963><P
964>Initialize the memory layer.</P
965><P
966></P
967><DIV
968CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000969><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000970NAME="AEN22137"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000971></A
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000972><P
973></P
974><TABLE
975BORDER="0"
976WIDTH="100%"
977BGCOLOR="#FFD0D0"
978CELLSPACING="0"
979CELLPADDING="4"
980CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +0000981><TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000982><TR
983><TD
984WIDTH="20%"
985ALIGN="RIGHT"
986VALIGN="TOP"
987><I
988CLASS="EMPHASIS"
989>Returns</I
990> :</TD
991><TD
992WIDTH="80%"
993ALIGN="LEFT"
994VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +0000995>0 on success</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000996></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +0000997></TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000998></TABLE
999><P
1000></P
1001></DIV
1002></DIV
1003><HR><DIV
1004CLASS="REFSECT2"
1005><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001006NAME="AEN22146"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001007></A
1008><H3
1009><A
1010NAME="XMLMEMUSED"
1011></A
1012>xmlMemUsed ()</H3
1013><TABLE
1014BORDER="0"
1015BGCOLOR="#D6E8FF"
1016WIDTH="100%"
1017CELLPADDING="6"
1018><TR
1019><TD
1020><PRE
1021CLASS="PROGRAMLISTING"
1022>int xmlMemUsed (void);</PRE
1023></TD
1024></TR
1025></TABLE
1026><P
1027>returns the amount of memory currenly allocated</P
1028><P
1029></P
1030><DIV
1031CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001032><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001033NAME="AEN22152"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001034></A
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001035><P
1036></P
1037><TABLE
1038BORDER="0"
1039WIDTH="100%"
1040BGCOLOR="#FFD0D0"
1041CELLSPACING="0"
1042CELLPADDING="4"
1043CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001044><TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001045><TR
1046><TD
1047WIDTH="20%"
1048ALIGN="RIGHT"
1049VALIGN="TOP"
1050><I
1051CLASS="EMPHASIS"
1052>Returns</I
1053> :</TD
1054><TD
1055WIDTH="80%"
1056ALIGN="LEFT"
1057VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001058>an int representing the amount of memory allocated.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001059></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001060></TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001061></TABLE
1062><P
1063></P
1064></DIV
1065></DIV
1066><HR><DIV
1067CLASS="REFSECT2"
1068><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001069NAME="AEN22161"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001070></A
1071><H3
1072><A
1073NAME="XMLMEMDISPLAY"
1074></A
1075>xmlMemDisplay ()</H3
1076><TABLE
1077BORDER="0"
1078BGCOLOR="#D6E8FF"
1079WIDTH="100%"
1080CELLPADDING="6"
1081><TR
1082><TD
1083><PRE
1084CLASS="PROGRAMLISTING"
1085>void xmlMemDisplay (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001086HREF="FILE-CAPS"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001087>FILE</GTKDOCLINK
1088> *fp);</PRE
1089></TD
1090></TR
1091></TABLE
1092><P
1093>show in-extenso the memory blocks allocated</P
1094><P
1095></P
1096><DIV
1097CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001098><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001099NAME="AEN22168"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001100></A
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001101><P
1102></P
1103><TABLE
1104BORDER="0"
1105WIDTH="100%"
1106BGCOLOR="#FFD0D0"
1107CELLSPACING="0"
1108CELLPADDING="4"
1109CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001110><TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001111><TR
1112><TD
1113WIDTH="20%"
1114ALIGN="RIGHT"
1115VALIGN="TOP"
1116><TT
1117CLASS="PARAMETER"
1118><I
1119>fp</I
1120></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001121>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001122><TD
1123WIDTH="80%"
1124ALIGN="LEFT"
1125VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001126> a FILE descriptor used as the output file, if NULL, the result is
1127written to the file .memorylist</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001128></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001129></TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001130></TABLE
1131><P
1132></P
1133></DIV
1134></DIV
1135><HR><DIV
1136CLASS="REFSECT2"
1137><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001138NAME="AEN22177"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001139></A
1140><H3
1141><A
1142NAME="XMLMEMSHOW"
1143></A
1144>xmlMemShow ()</H3
1145><TABLE
1146BORDER="0"
1147BGCOLOR="#D6E8FF"
1148WIDTH="100%"
1149CELLPADDING="6"
1150><TR
1151><TD
1152><PRE
1153CLASS="PROGRAMLISTING"
1154>void xmlMemShow (<GTKDOCLINK
Daniel Veillard503b8932001-01-05 06:36:31 +00001155HREF="FILE-CAPS"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001156>FILE</GTKDOCLINK
1157> *fp,
1158 int nr);</PRE
1159></TD
1160></TR
1161></TABLE
1162><P
1163>show a show display of the memory allocated, and dump
1164the <TT
1165CLASS="PARAMETER"
1166><I
1167>nr</I
1168></TT
1169> last allocated areas which were not freed</P
1170><P
1171></P
1172><DIV
1173CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001174><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001175NAME="AEN22185"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001176></A
Daniel Veillardf3a73582000-01-05 14:58:39 +00001177><P
1178></P
1179><TABLE
1180BORDER="0"
1181WIDTH="100%"
1182BGCOLOR="#FFD0D0"
1183CELLSPACING="0"
1184CELLPADDING="4"
1185CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001186><TBODY
Daniel Veillardf3a73582000-01-05 14:58:39 +00001187><TR
1188><TD
1189WIDTH="20%"
1190ALIGN="RIGHT"
1191VALIGN="TOP"
1192><TT
1193CLASS="PARAMETER"
1194><I
1195>fp</I
1196></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001197>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00001198><TD
1199WIDTH="80%"
1200ALIGN="LEFT"
1201VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001202> a FILE descriptor used as the output file</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00001203></TR
1204><TR
1205><TD
1206WIDTH="20%"
1207ALIGN="RIGHT"
1208VALIGN="TOP"
1209><TT
1210CLASS="PARAMETER"
1211><I
1212>nr</I
1213></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001214>&nbsp;:</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00001215><TD
1216WIDTH="80%"
1217ALIGN="LEFT"
1218VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001219> number of entries to dump</TD
Daniel Veillardf3a73582000-01-05 14:58:39 +00001220></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001221></TBODY
Daniel Veillardf3a73582000-01-05 14:58:39 +00001222></TABLE
1223><P
1224></P
1225></DIV
1226></DIV
1227><HR><DIV
1228CLASS="REFSECT2"
1229><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001230NAME="AEN22198"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001231></A
1232><H3
1233><A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001234NAME="XMLMEMORYDUMP"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001235></A
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001236>xmlMemoryDump ()</H3
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001237><TABLE
1238BORDER="0"
1239BGCOLOR="#D6E8FF"
1240WIDTH="100%"
1241CELLPADDING="6"
1242><TR
1243><TD
1244><PRE
1245CLASS="PROGRAMLISTING"
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001246>void xmlMemoryDump (void);</PRE
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001247></TD
1248></TR
1249></TABLE
1250><P
Daniel Veillard3f6f7f62000-06-30 17:58:25 +00001251>Dump in-extenso the memory blocks allocated to the file .memorylist</P
1252><P
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001253></P
1254></DIV
1255><HR><DIV
1256CLASS="REFSECT2"
1257><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001258NAME="AEN22204"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001259></A
1260><H3
1261><A
1262NAME="XMLMALLOC"
1263></A
1264>xmlMalloc()</H3
1265><TABLE
1266BORDER="0"
1267BGCOLOR="#D6E8FF"
1268WIDTH="100%"
1269CELLPADDING="6"
1270><TR
1271><TD
1272><PRE
1273CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001274>#define xmlMalloc(x) xmlMallocLoc((x), __FILE__, __LINE__)</PRE
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001275></TD
1276></TR
1277></TABLE
1278><P
1279></P
1280><DIV
1281CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001282><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001283NAME="AEN22209"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001284></A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001285><P
1286></P
1287><TABLE
1288BORDER="0"
1289WIDTH="100%"
1290BGCOLOR="#FFD0D0"
1291CELLSPACING="0"
1292CELLPADDING="4"
1293CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001294><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001295><TR
1296><TD
1297WIDTH="20%"
1298ALIGN="RIGHT"
1299VALIGN="TOP"
1300><TT
1301CLASS="PARAMETER"
1302><I
1303>x</I
1304></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001305>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001306><TD
1307WIDTH="80%"
1308ALIGN="LEFT"
1309VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001310>&nbsp;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001311></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001312></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001313></TABLE
1314><P
1315></P
1316></DIV
1317></DIV
1318><HR><DIV
1319CLASS="REFSECT2"
1320><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001321NAME="AEN22218"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001322></A
1323><H3
1324><A
1325NAME="XMLREALLOC"
1326></A
1327>xmlRealloc()</H3
1328><TABLE
1329BORDER="0"
1330BGCOLOR="#D6E8FF"
1331WIDTH="100%"
1332CELLPADDING="6"
1333><TR
1334><TD
1335><PRE
1336CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001337>#define xmlRealloc(p, x) xmlReallocLoc((p), (x), __FILE__, __LINE__)</PRE
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001338></TD
1339></TR
1340></TABLE
1341><P
1342></P
1343><DIV
1344CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001345><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001346NAME="AEN22223"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001347></A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001348><P
1349></P
1350><TABLE
1351BORDER="0"
1352WIDTH="100%"
1353BGCOLOR="#FFD0D0"
1354CELLSPACING="0"
1355CELLPADDING="4"
1356CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001357><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001358><TR
1359><TD
1360WIDTH="20%"
1361ALIGN="RIGHT"
1362VALIGN="TOP"
1363><TT
1364CLASS="PARAMETER"
1365><I
1366>p</I
1367></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001368>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001369><TD
1370WIDTH="80%"
1371ALIGN="LEFT"
1372VALIGN="TOP"
1373>&nbsp;</TD
1374></TR
1375><TR
1376><TD
1377WIDTH="20%"
1378ALIGN="RIGHT"
1379VALIGN="TOP"
1380><TT
1381CLASS="PARAMETER"
1382><I
1383>x</I
1384></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001385>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001386><TD
1387WIDTH="80%"
1388ALIGN="LEFT"
1389VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001390>&nbsp;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001391></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001392></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001393></TABLE
1394><P
1395></P
1396></DIV
1397></DIV
1398><HR><DIV
1399CLASS="REFSECT2"
1400><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001401NAME="AEN22236"
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001402></A
1403><H3
1404><A
1405NAME="XMLMEMSTRDUP"
1406></A
1407>xmlMemStrdup()</H3
1408><TABLE
1409BORDER="0"
1410BGCOLOR="#D6E8FF"
1411WIDTH="100%"
1412CELLPADDING="6"
1413><TR
1414><TD
1415><PRE
1416CLASS="PROGRAMLISTING"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001417>#define xmlMemStrdup(x) xmlMemStrdupLoc((x), __FILE__, __LINE__)</PRE
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001418></TD
1419></TR
1420></TABLE
1421><P
1422></P
1423><DIV
1424CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001425><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001426NAME="AEN22241"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001427></A
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001428><P
1429></P
1430><TABLE
1431BORDER="0"
1432WIDTH="100%"
1433BGCOLOR="#FFD0D0"
1434CELLSPACING="0"
1435CELLPADDING="4"
1436CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001437><TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001438><TR
1439><TD
1440WIDTH="20%"
1441ALIGN="RIGHT"
1442VALIGN="TOP"
1443><TT
1444CLASS="PARAMETER"
1445><I
1446>x</I
1447></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001448>&nbsp;:</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001449><TD
1450WIDTH="80%"
1451ALIGN="LEFT"
1452VALIGN="TOP"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001453>&nbsp;</TD
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001454></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001455></TBODY
Daniel Veillarda1fe9102000-11-25 10:49:25 +00001456></TABLE
1457><P
1458></P
1459></DIV
1460></DIV
1461><HR><DIV
1462CLASS="REFSECT2"
1463><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001464NAME="AEN22250"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001465></A
1466><H3
1467><A
1468NAME="XMLMALLOCLOC"
1469></A
1470>xmlMallocLoc ()</H3
1471><TABLE
1472BORDER="0"
1473BGCOLOR="#D6E8FF"
1474WIDTH="100%"
1475CELLPADDING="6"
1476><TR
1477><TD
1478><PRE
1479CLASS="PROGRAMLISTING"
1480>void* xmlMallocLoc (int size,
1481 const char *file,
1482 int line);</PRE
1483></TD
1484></TR
1485></TABLE
1486><P
1487>a <GTKDOCLINK
1488HREF="MALLOC"
1489>malloc</GTKDOCLINK
1490>() equivalent, with logging of the allocation info.</P
1491><P
1492></P
1493><DIV
1494CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001495><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001496NAME="AEN22257"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001497></A
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001498><P
1499></P
1500><TABLE
1501BORDER="0"
1502WIDTH="100%"
1503BGCOLOR="#FFD0D0"
1504CELLSPACING="0"
1505CELLPADDING="4"
1506CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001507><TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001508><TR
1509><TD
1510WIDTH="20%"
1511ALIGN="RIGHT"
1512VALIGN="TOP"
1513><TT
1514CLASS="PARAMETER"
1515><I
1516>size</I
1517></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001518>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001519><TD
1520WIDTH="80%"
1521ALIGN="LEFT"
1522VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001523> an int specifying the size in byte to allocate.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001524></TR
1525><TR
1526><TD
1527WIDTH="20%"
1528ALIGN="RIGHT"
1529VALIGN="TOP"
1530><TT
1531CLASS="PARAMETER"
1532><I
1533>file</I
1534></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001535>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001536><TD
1537WIDTH="80%"
1538ALIGN="LEFT"
1539VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001540> the file name or NULL</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001541></TR
1542><TR
1543><TD
1544WIDTH="20%"
1545ALIGN="RIGHT"
1546VALIGN="TOP"
1547><TT
1548CLASS="PARAMETER"
1549><I
1550>line</I
1551></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001552>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001553><TD
1554WIDTH="80%"
1555ALIGN="LEFT"
1556VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001557> the line number</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001558></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001559></TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001560></TABLE
1561><P
1562></P
1563></DIV
1564></DIV
1565><HR><DIV
1566CLASS="REFSECT2"
1567><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001568NAME="AEN22274"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001569></A
1570><H3
1571><A
1572NAME="XMLREALLOCLOC"
1573></A
1574>xmlReallocLoc ()</H3
1575><TABLE
1576BORDER="0"
1577BGCOLOR="#D6E8FF"
1578WIDTH="100%"
1579CELLPADDING="6"
1580><TR
1581><TD
1582><PRE
1583CLASS="PROGRAMLISTING"
1584>void* xmlReallocLoc (void *ptr,
1585 int size,
1586 const char *file,
1587 int line);</PRE
1588></TD
1589></TR
1590></TABLE
1591><P
1592>a <GTKDOCLINK
1593HREF="REALLOC"
1594>realloc</GTKDOCLINK
1595>() equivalent, with logging of the allocation info.</P
1596><P
1597></P
1598><DIV
1599CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001600><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001601NAME="AEN22281"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001602></A
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001603><P
1604></P
1605><TABLE
1606BORDER="0"
1607WIDTH="100%"
1608BGCOLOR="#FFD0D0"
1609CELLSPACING="0"
1610CELLPADDING="4"
1611CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001612><TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001613><TR
1614><TD
1615WIDTH="20%"
1616ALIGN="RIGHT"
1617VALIGN="TOP"
1618><TT
1619CLASS="PARAMETER"
1620><I
1621>ptr</I
1622></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001623>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001624><TD
1625WIDTH="80%"
1626ALIGN="LEFT"
1627VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001628> the initial memory block pointer</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001629></TR
1630><TR
1631><TD
1632WIDTH="20%"
1633ALIGN="RIGHT"
1634VALIGN="TOP"
1635><TT
1636CLASS="PARAMETER"
1637><I
1638>size</I
1639></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001640>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001641><TD
1642WIDTH="80%"
1643ALIGN="LEFT"
1644VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001645> an int specifying the size in byte to allocate.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001646></TR
1647><TR
1648><TD
1649WIDTH="20%"
1650ALIGN="RIGHT"
1651VALIGN="TOP"
1652><TT
1653CLASS="PARAMETER"
1654><I
1655>file</I
1656></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001657>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001658><TD
1659WIDTH="80%"
1660ALIGN="LEFT"
1661VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001662> the file name or NULL</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001663></TR
1664><TR
1665><TD
1666WIDTH="20%"
1667ALIGN="RIGHT"
1668VALIGN="TOP"
1669><TT
1670CLASS="PARAMETER"
1671><I
1672>line</I
1673></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001674>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001675><TD
1676WIDTH="80%"
1677ALIGN="LEFT"
1678VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001679> the line number</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001680></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001681></TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001682></TABLE
1683><P
1684></P
1685></DIV
1686></DIV
1687><HR><DIV
1688CLASS="REFSECT2"
1689><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001690NAME="AEN22302"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001691></A
1692><H3
1693><A
1694NAME="XMLMEMSTRDUPLOC"
1695></A
1696>xmlMemStrdupLoc ()</H3
1697><TABLE
1698BORDER="0"
1699BGCOLOR="#D6E8FF"
1700WIDTH="100%"
1701CELLPADDING="6"
1702><TR
1703><TD
1704><PRE
1705CLASS="PROGRAMLISTING"
1706>char* xmlMemStrdupLoc (const char *str,
1707 const char *file,
1708 int line);</PRE
1709></TD
1710></TR
1711></TABLE
1712><P
1713>a <GTKDOCLINK
1714HREF="STRDUP"
1715>strdup</GTKDOCLINK
1716>() equivalent, with logging of the allocation info.</P
1717><P
1718></P
1719><DIV
1720CLASS="INFORMALTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001721><A
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001722NAME="AEN22309"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001723></A
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001724><P
1725></P
1726><TABLE
1727BORDER="0"
1728WIDTH="100%"
1729BGCOLOR="#FFD0D0"
1730CELLSPACING="0"
1731CELLPADDING="4"
1732CLASS="CALSTABLE"
Daniel Veillardbed7b052001-05-19 14:59:49 +00001733><TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001734><TR
1735><TD
1736WIDTH="20%"
1737ALIGN="RIGHT"
1738VALIGN="TOP"
1739><TT
1740CLASS="PARAMETER"
1741><I
1742>str</I
1743></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001744>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001745><TD
1746WIDTH="80%"
1747ALIGN="LEFT"
1748VALIGN="TOP"
1749>&nbsp;</TD
1750></TR
1751><TR
1752><TD
1753WIDTH="20%"
1754ALIGN="RIGHT"
1755VALIGN="TOP"
1756><TT
1757CLASS="PARAMETER"
1758><I
1759>file</I
1760></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001761>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001762><TD
1763WIDTH="80%"
1764ALIGN="LEFT"
1765VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001766> the file name or NULL</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001767></TR
1768><TR
1769><TD
1770WIDTH="20%"
1771ALIGN="RIGHT"
1772VALIGN="TOP"
1773><TT
1774CLASS="PARAMETER"
1775><I
1776>line</I
1777></TT
Daniel Veillard3bbbe6f2001-05-03 11:15:37 +00001778>&nbsp;:</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001779><TD
1780WIDTH="80%"
1781ALIGN="LEFT"
1782VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001783> the line number</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001784></TR
1785><TR
1786><TD
1787WIDTH="20%"
1788ALIGN="RIGHT"
1789VALIGN="TOP"
1790><I
1791CLASS="EMPHASIS"
1792>Returns</I
1793> :</TD
1794><TD
1795WIDTH="80%"
1796ALIGN="LEFT"
1797VALIGN="TOP"
Daniel Veillard4b8328d2001-07-05 22:48:42 +00001798>a pointer to the new string or NULL if allocation error occured.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001799></TR
Daniel Veillardbed7b052001-05-19 14:59:49 +00001800></TBODY
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001801></TABLE
1802><P
1803></P
1804></DIV
1805></DIV
1806></DIV
1807><DIV
1808CLASS="NAVFOOTER"
1809><BR
1810CLEAR="all"><BR><TABLE
1811WIDTH="100%"
1812BORDER="0"
1813BGCOLOR="#000000"
1814CELLPADDING="1"
1815CELLSPACING="0"
1816><TR
1817><TD
1818WIDTH="25%"
1819BGCOLOR="#C00000"
1820ALIGN="left"
1821><A
Daniel Veillard9cb5ff42001-01-29 08:22:21 +00001822HREF="libxml-debugxml.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001823><FONT
1824COLOR="#FFFFFF"
1825SIZE="3"
1826><B
1827>&#60;&#60;&#60; Previous Page</B
1828></FONT
1829></A
1830></TD
1831><TD
1832WIDTH="25%"
1833BGCOLOR="#0000C0"
1834ALIGN="center"
1835><FONT
1836COLOR="#FFFFFF"
1837SIZE="3"
1838><B
1839><A
1840HREF="book1.html"
1841><FONT
1842COLOR="#FFFFFF"
1843SIZE="3"
1844><B
1845>Home</B
1846></FONT
1847></A
1848></B
1849></FONT
1850></TD
1851><TD
1852WIDTH="25%"
1853BGCOLOR="#00C000"
1854ALIGN="center"
1855><FONT
1856COLOR="#FFFFFF"
1857SIZE="3"
1858><B
1859><A
Daniel Veillard35008381999-10-25 13:15:52 +00001860HREF="libxml-lib.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001861><FONT
1862COLOR="#FFFFFF"
1863SIZE="3"
1864><B
1865>Up</B
1866></FONT
1867></A
1868></B
1869></FONT
1870></TD
1871><TD
1872WIDTH="25%"
1873BGCOLOR="#C00000"
1874ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +00001875>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001876></TR
1877><TR
1878><TD
1879COLSPAN="2"
1880ALIGN="left"
1881><FONT
1882COLOR="#FFFFFF"
1883SIZE="3"
1884><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00001885>debugXML</B
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001886></FONT
1887></TD
1888><TD
1889COLSPAN="2"
1890ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +00001891>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001892></TR
1893></TABLE
1894></DIV
1895></BODY
1896></HTML
1897>