blob: 3ebfcf527468fe3c029e10945d507a88e46d6bb1 [file] [log] [blame]
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001<HTML
2><HEAD
3><TITLE
4>xmlmemory</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillardf3a73582000-01-05 14:58:39 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><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"
16HREF="gnome-xml-debugxml.html"></HEAD
Daniel Veillard7c1206f1999-10-14 09:10:25 +000017><BODY
18BGCOLOR="#FFFFFF"
19TEXT="#000000"
20><DIV
21CLASS="NAVHEADER"
22><TABLE
23WIDTH="100%"
24BORDER="0"
25BGCOLOR="#000000"
26CELLPADDING="1"
27CELLSPACING="0"
28><TR
29><TH
30COLSPAN="4"
31ALIGN="center"
32><FONT
33COLOR="#FFFFFF"
34SIZE="5"
35>Gnome XML Library Reference Manual</FONT
36></TH
37></TR
38><TR
39><TD
40WIDTH="25%"
41BGCOLOR="#C00000"
42ALIGN="left"
43><A
Daniel Veillard294cbca1999-12-03 13:19:09 +000044HREF="gnome-xml-debugxml.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000045><FONT
46COLOR="#FFFFFF"
47SIZE="3"
48><B
49>&#60;&#60;&#60; Previous Page</B
50></FONT
51></A
52></TD
53><TD
54WIDTH="25%"
55BGCOLOR="#0000C0"
56ALIGN="center"
57><FONT
58COLOR="#FFFFFF"
59SIZE="3"
60><B
61><A
62HREF="book1.html"
63><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67>Home</B
68></FONT
69></A
70></B
71></FONT
72></TD
73><TD
74WIDTH="25%"
75BGCOLOR="#00C000"
76ALIGN="center"
77><FONT
78COLOR="#FFFFFF"
79SIZE="3"
80><B
81><A
Daniel Veillard35008381999-10-25 13:15:52 +000082HREF="libxml-lib.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000083><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87>Up</B
88></FONT
89></A
90></B
91></FONT
92></TD
93><TD
94WIDTH="25%"
95BGCOLOR="#C00000"
96ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +000097>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +000098></TR
99></TABLE
100></DIV
101><H1
Daniel Veillardf3a73582000-01-05 14:58:39 +0000102>xmlmemory</H1
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000103><DIV
104CLASS="REFNAMEDIV"
105><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000106NAME="AEN13450"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000107></A
108><H2
109>Name</H2
Daniel Veillardf3a73582000-01-05 14:58:39 +0000110>xmlmemory &#8212; </DIV
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000111><DIV
112CLASS="REFSYNOPSISDIV"
113><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000114NAME="AEN13453"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000115></A
116><H2
117>Synopsis</H2
118><TABLE
119BORDER="0"
120BGCOLOR="#D6E8FF"
121WIDTH="100%"
122CELLPADDING="6"
123><TR
124><TD
125><PRE
126CLASS="SYNOPSIS"
127>&#13;
128
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000129#define <A
Daniel Veillard8f621982000-03-20 13:07:15 +0000130HREF="gnome-xml-xmlmemory.html#DEBUG-MEMORY"
131>DEBUG_MEMORY</A
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000132>
Daniel Veillard8f621982000-03-20 13:07:15 +0000133#define <A
134HREF="gnome-xml-xmlmemory.html#MEM-LIST"
135>MEM_LIST</A
136>
137void (<A
138HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
139>*xmlFreeFunc</A
140>) (void*);
141void* (<A
142HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
143>*xmlMallocFunc</A
144>) (...);
145void* (<A
146HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
147>*xmlReallocFunc</A
148>) (void*,
149 ...);
150char* (<A
151HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
152>*xmlStrdupFunc</A
153>) (const char*);
154extern xmlFreeFunc <A
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000155HREF="gnome-xml-xmlmemory.html#XMLFREE"
156>xmlFree</A
Daniel Veillard8f621982000-03-20 13:07:15 +0000157>;
158extern xmlMallocFunc <A
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000159HREF="gnome-xml-xmlmemory.html#XMLMALLOC"
160>xmlMalloc</A
Daniel Veillard8f621982000-03-20 13:07:15 +0000161>;
162extern xmlReallocFunc <A
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000163HREF="gnome-xml-xmlmemory.html#XMLREALLOC"
164>xmlRealloc</A
Daniel Veillard8f621982000-03-20 13:07:15 +0000165>;
166extern xmlStrdupFunc <A
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000167HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUP"
168>xmlMemStrdup</A
Daniel Veillard8f621982000-03-20 13:07:15 +0000169>;
170int <A
171HREF="gnome-xml-xmlmemory.html#XMLMEMSETUP"
172>xmlMemSetup</A
173> (<A
174HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
175>xmlFreeFunc</A
176> freeFunc,
177 <A
178HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
179>xmlMallocFunc</A
180> mallocFunc,
181 <A
182HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
183>xmlReallocFunc</A
184> reallocFunc,
185 <A
186HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
187>xmlStrdupFunc</A
188> strdupFunc);
189int <A
190HREF="gnome-xml-xmlmemory.html#XMLMEMGET"
191>xmlMemGet</A
192> (<A
193HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
194>xmlFreeFunc</A
195> *freeFunc,
196 <A
197HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
198>xmlMallocFunc</A
199> *mallocFunc,
200 <A
201HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
202>xmlReallocFunc</A
203> *reallocFunc,
204 <A
205HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
206>xmlStrdupFunc</A
207> *strdupFunc);
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000208int <A
209HREF="gnome-xml-xmlmemory.html#XMLINITMEMORY"
210>xmlInitMemory</A
211> (void);
212int <A
213HREF="gnome-xml-xmlmemory.html#XMLMEMUSED"
214>xmlMemUsed</A
215> (void);
216void <A
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000217HREF="gnome-xml-xmlmemory.html#XMLMEMDISPLAY"
218>xmlMemDisplay</A
219> (<GTKDOCLINK
220HREF="FILE"
221>FILE</GTKDOCLINK
222> *fp);
Daniel Veillardf3a73582000-01-05 14:58:39 +0000223void <A
224HREF="gnome-xml-xmlmemory.html#XMLMEMSHOW"
225>xmlMemShow</A
226> (<GTKDOCLINK
227HREF="FILE"
228>FILE</GTKDOCLINK
229> *fp,
230 int nr);
Daniel Veillard8f621982000-03-20 13:07:15 +0000231void <A
232HREF="gnome-xml-xmlmemory.html#XMLMEMORYDUMP"
233>xmlMemoryDump</A
234> (void);
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000235void* <A
236HREF="gnome-xml-xmlmemory.html#XMLMALLOCLOC"
237>xmlMallocLoc</A
238> (int size,
239 const char *file,
240 int line);
241void* <A
242HREF="gnome-xml-xmlmemory.html#XMLREALLOCLOC"
243>xmlReallocLoc</A
244> (void *ptr,
245 int size,
246 const char *file,
247 int line);
248char* <A
249HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUPLOC"
250>xmlMemStrdupLoc</A
251> (const char *str,
252 const char *file,
253 int line);</PRE
254></TD
255></TR
256></TABLE
257></DIV
258><DIV
259CLASS="REFSECT1"
260><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000261NAME="AEN13486"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000262></A
263><H2
264>Description</H2
265><P
266></P
267></DIV
268><DIV
269CLASS="REFSECT1"
270><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000271NAME="AEN13489"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000272></A
273><H2
274>Details</H2
275><DIV
276CLASS="REFSECT2"
277><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000278NAME="AEN13491"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000279></A
280><H3
281><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000282NAME="DEBUG-MEMORY"
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000283></A
Daniel Veillard8f621982000-03-20 13:07:15 +0000284>DEBUG_MEMORY</H3
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000285><TABLE
286BORDER="0"
287BGCOLOR="#D6E8FF"
288WIDTH="100%"
289CELLPADDING="6"
290><TR
291><TD
292><PRE
293CLASS="PROGRAMLISTING"
Daniel Veillard8f621982000-03-20 13:07:15 +0000294>#define DEBUG_MEMORY</PRE
Daniel Veillard4c3a2031999-11-19 17:46:26 +0000295></TD
296></TR
297></TABLE
298><P
299></P
300></DIV
301><HR><DIV
302CLASS="REFSECT2"
303><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000304NAME="AEN13496"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000305></A
306><H3
307><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000308NAME="MEM-LIST"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000309></A
Daniel Veillard8f621982000-03-20 13:07:15 +0000310>MEM_LIST</H3
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000311><TABLE
312BORDER="0"
313BGCOLOR="#D6E8FF"
314WIDTH="100%"
315CELLPADDING="6"
316><TR
317><TD
318><PRE
319CLASS="PROGRAMLISTING"
Daniel Veillard8f621982000-03-20 13:07:15 +0000320>#define MEM_LIST /* keep a list of all the allocated memory blocks */</PRE
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000321></TD
322></TR
323></TABLE
324><P
Daniel Veillard8f621982000-03-20 13:07:15 +0000325></P
326></DIV
327><HR><DIV
328CLASS="REFSECT2"
329><A
330NAME="AEN13501"
331></A
332><H3
333><A
334NAME="XMLFREEFUNC"
335></A
336>xmlFreeFunc ()</H3
337><TABLE
338BORDER="0"
339BGCOLOR="#D6E8FF"
340WIDTH="100%"
341CELLPADDING="6"
342><TR
343><TD
344><PRE
345CLASS="PROGRAMLISTING"
346>void (*xmlFreeFunc) (void*);</PRE
347></TD
348></TR
349></TABLE
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000350><P
351></P
352><DIV
353CLASS="INFORMALTABLE"
354><P
355></P
356><TABLE
357BORDER="0"
358WIDTH="100%"
359BGCOLOR="#FFD0D0"
360CELLSPACING="0"
361CELLPADDING="4"
362CLASS="CALSTABLE"
363><TR
364><TD
365WIDTH="20%"
366ALIGN="RIGHT"
367VALIGN="TOP"
368><TT
369CLASS="PARAMETER"
370><I
Daniel Veillard8f621982000-03-20 13:07:15 +0000371>Param1</I
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000372></TT
373>&nbsp;:</TD
374><TD
375WIDTH="80%"
376ALIGN="LEFT"
377VALIGN="TOP"
Daniel Veillard8f621982000-03-20 13:07:15 +0000378>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000379></TR
380></TABLE
381><P
382></P
383></DIV
384></DIV
385><HR><DIV
386CLASS="REFSECT2"
387><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000388NAME="AEN13515"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000389></A
390><H3
391><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000392NAME="XMLMALLOCFUNC"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000393></A
Daniel Veillard8f621982000-03-20 13:07:15 +0000394>xmlMallocFunc ()</H3
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000395><TABLE
396BORDER="0"
397BGCOLOR="#D6E8FF"
398WIDTH="100%"
399CELLPADDING="6"
400><TR
401><TD
402><PRE
403CLASS="PROGRAMLISTING"
Daniel Veillard8f621982000-03-20 13:07:15 +0000404>void* (*xmlMallocFunc) (...);</PRE
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000405></TD
406></TR
407></TABLE
408><P
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000409></P
410><DIV
411CLASS="INFORMALTABLE"
412><P
413></P
414><TABLE
415BORDER="0"
416WIDTH="100%"
417BGCOLOR="#FFD0D0"
418CELLSPACING="0"
419CELLPADDING="4"
420CLASS="CALSTABLE"
421><TR
422><TD
423WIDTH="20%"
424ALIGN="RIGHT"
425VALIGN="TOP"
426><TT
427CLASS="PARAMETER"
428><I
Daniel Veillard8f621982000-03-20 13:07:15 +0000429>...</I
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000430></TT
431>&nbsp;:</TD
432><TD
433WIDTH="80%"
434ALIGN="LEFT"
435VALIGN="TOP"
Daniel Veillard8f621982000-03-20 13:07:15 +0000436>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000437></TR
438></TABLE
439><P
440></P
441></DIV
442></DIV
443><HR><DIV
444CLASS="REFSECT2"
445><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000446NAME="AEN13529"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000447></A
448><H3
449><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000450NAME="XMLREALLOCFUNC"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000451></A
Daniel Veillard8f621982000-03-20 13:07:15 +0000452>xmlReallocFunc ()</H3
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000453><TABLE
454BORDER="0"
455BGCOLOR="#D6E8FF"
456WIDTH="100%"
457CELLPADDING="6"
458><TR
459><TD
460><PRE
461CLASS="PROGRAMLISTING"
Daniel Veillard8f621982000-03-20 13:07:15 +0000462>void* (*xmlReallocFunc) (void*,
463 ...);</PRE
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000464></TD
465></TR
466></TABLE
467><P
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000468></P
469><DIV
470CLASS="INFORMALTABLE"
471><P
472></P
473><TABLE
474BORDER="0"
475WIDTH="100%"
476BGCOLOR="#FFD0D0"
477CELLSPACING="0"
478CELLPADDING="4"
479CLASS="CALSTABLE"
480><TR
481><TD
482WIDTH="20%"
483ALIGN="RIGHT"
484VALIGN="TOP"
485><TT
486CLASS="PARAMETER"
487><I
Daniel Veillard8f621982000-03-20 13:07:15 +0000488>Param1</I
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000489></TT
490>&nbsp;:</TD
491><TD
492WIDTH="80%"
493ALIGN="LEFT"
494VALIGN="TOP"
Daniel Veillard8f621982000-03-20 13:07:15 +0000495>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000496></TR
497><TR
498><TD
499WIDTH="20%"
500ALIGN="RIGHT"
501VALIGN="TOP"
502><TT
503CLASS="PARAMETER"
504><I
Daniel Veillard8f621982000-03-20 13:07:15 +0000505>...</I
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000506></TT
507>&nbsp;:</TD
508><TD
509WIDTH="80%"
510ALIGN="LEFT"
511VALIGN="TOP"
Daniel Veillard8f621982000-03-20 13:07:15 +0000512>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000513></TR
514></TABLE
515><P
516></P
517></DIV
518></DIV
519><HR><DIV
520CLASS="REFSECT2"
521><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000522NAME="AEN13547"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000523></A
524><H3
525><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000526NAME="XMLSTRDUPFUNC"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000527></A
Daniel Veillard8f621982000-03-20 13:07:15 +0000528>xmlStrdupFunc ()</H3
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000529><TABLE
530BORDER="0"
531BGCOLOR="#D6E8FF"
532WIDTH="100%"
533CELLPADDING="6"
534><TR
535><TD
536><PRE
537CLASS="PROGRAMLISTING"
Daniel Veillard8f621982000-03-20 13:07:15 +0000538>char* (*xmlStrdupFunc) (const char*);</PRE
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000539></TD
540></TR
541></TABLE
542><P
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000543></P
544><DIV
545CLASS="INFORMALTABLE"
546><P
547></P
548><TABLE
549BORDER="0"
550WIDTH="100%"
551BGCOLOR="#FFD0D0"
552CELLSPACING="0"
553CELLPADDING="4"
554CLASS="CALSTABLE"
555><TR
556><TD
557WIDTH="20%"
558ALIGN="RIGHT"
559VALIGN="TOP"
560><TT
561CLASS="PARAMETER"
562><I
Daniel Veillard8f621982000-03-20 13:07:15 +0000563>Param1</I
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000564></TT
565>&nbsp;:</TD
566><TD
567WIDTH="80%"
568ALIGN="LEFT"
569VALIGN="TOP"
570>&nbsp;</TD
571></TR
572><TR
573><TD
574WIDTH="20%"
575ALIGN="RIGHT"
576VALIGN="TOP"
577><I
578CLASS="EMPHASIS"
579>Returns</I
580> :</TD
581><TD
582WIDTH="80%"
583ALIGN="LEFT"
584VALIGN="TOP"
Daniel Veillard8f621982000-03-20 13:07:15 +0000585>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000586></TR
587></TABLE
588><P
589></P
590></DIV
591></DIV
592><HR><DIV
593CLASS="REFSECT2"
594><A
Daniel Veillard8f621982000-03-20 13:07:15 +0000595NAME="AEN13565"
596></A
597><H3
598><A
599NAME="XMLFREE"
600></A
601>xmlFree</H3
602><TABLE
603BORDER="0"
604BGCOLOR="#D6E8FF"
605WIDTH="100%"
606CELLPADDING="6"
607><TR
608><TD
609><PRE
610CLASS="PROGRAMLISTING"
611>extern xmlFreeFunc xmlFree;</PRE
612></TD
613></TR
614></TABLE
615><P
616></P
617></DIV
618><HR><DIV
619CLASS="REFSECT2"
620><A
621NAME="AEN13570"
622></A
623><H3
624><A
625NAME="XMLMALLOC"
626></A
627>xmlMalloc</H3
628><TABLE
629BORDER="0"
630BGCOLOR="#D6E8FF"
631WIDTH="100%"
632CELLPADDING="6"
633><TR
634><TD
635><PRE
636CLASS="PROGRAMLISTING"
637>extern xmlMallocFunc xmlMalloc;</PRE
638></TD
639></TR
640></TABLE
641><P
642></P
643></DIV
644><HR><DIV
645CLASS="REFSECT2"
646><A
647NAME="AEN13575"
648></A
649><H3
650><A
651NAME="XMLREALLOC"
652></A
653>xmlRealloc</H3
654><TABLE
655BORDER="0"
656BGCOLOR="#D6E8FF"
657WIDTH="100%"
658CELLPADDING="6"
659><TR
660><TD
661><PRE
662CLASS="PROGRAMLISTING"
663>extern xmlReallocFunc xmlRealloc;</PRE
664></TD
665></TR
666></TABLE
667><P
668></P
669></DIV
670><HR><DIV
671CLASS="REFSECT2"
672><A
673NAME="AEN13580"
674></A
675><H3
676><A
677NAME="XMLMEMSTRDUP"
678></A
679>xmlMemStrdup</H3
680><TABLE
681BORDER="0"
682BGCOLOR="#D6E8FF"
683WIDTH="100%"
684CELLPADDING="6"
685><TR
686><TD
687><PRE
688CLASS="PROGRAMLISTING"
689>extern xmlStrdupFunc xmlMemStrdup;</PRE
690></TD
691></TR
692></TABLE
693><P
694></P
695></DIV
696><HR><DIV
697CLASS="REFSECT2"
698><A
699NAME="AEN13585"
700></A
701><H3
702><A
703NAME="XMLMEMSETUP"
704></A
705>xmlMemSetup ()</H3
706><TABLE
707BORDER="0"
708BGCOLOR="#D6E8FF"
709WIDTH="100%"
710CELLPADDING="6"
711><TR
712><TD
713><PRE
714CLASS="PROGRAMLISTING"
715>int xmlMemSetup (<A
716HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
717>xmlFreeFunc</A
718> freeFunc,
719 <A
720HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
721>xmlMallocFunc</A
722> mallocFunc,
723 <A
724HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
725>xmlReallocFunc</A
726> reallocFunc,
727 <A
728HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
729>xmlStrdupFunc</A
730> strdupFunc);</PRE
731></TD
732></TR
733></TABLE
734><P
735>Override the default memory access functions with a new set
736This has to be called before any other libxml routines !</P
737><P
738>Should this be blocked if there was already some allocations
739done ?</P
740><P
741></P
742><DIV
743CLASS="INFORMALTABLE"
744><P
745></P
746><TABLE
747BORDER="0"
748WIDTH="100%"
749BGCOLOR="#FFD0D0"
750CELLSPACING="0"
751CELLPADDING="4"
752CLASS="CALSTABLE"
753><TR
754><TD
755WIDTH="20%"
756ALIGN="RIGHT"
757VALIGN="TOP"
758><TT
759CLASS="PARAMETER"
760><I
761>freeFunc</I
762></TT
763>&nbsp;:</TD
764><TD
765WIDTH="80%"
766ALIGN="LEFT"
767VALIGN="TOP"
768> the <GTKDOCLINK
769HREF="FREE"
770>free</GTKDOCLINK
771>() function to use</TD
772></TR
773><TR
774><TD
775WIDTH="20%"
776ALIGN="RIGHT"
777VALIGN="TOP"
778><TT
779CLASS="PARAMETER"
780><I
781>mallocFunc</I
782></TT
783>&nbsp;:</TD
784><TD
785WIDTH="80%"
786ALIGN="LEFT"
787VALIGN="TOP"
788> the <GTKDOCLINK
789HREF="MALLOC"
790>malloc</GTKDOCLINK
791>() function to use</TD
792></TR
793><TR
794><TD
795WIDTH="20%"
796ALIGN="RIGHT"
797VALIGN="TOP"
798><TT
799CLASS="PARAMETER"
800><I
801>reallocFunc</I
802></TT
803>&nbsp;:</TD
804><TD
805WIDTH="80%"
806ALIGN="LEFT"
807VALIGN="TOP"
808> the <GTKDOCLINK
809HREF="REALLOC"
810>realloc</GTKDOCLINK
811>() function to use</TD
812></TR
813><TR
814><TD
815WIDTH="20%"
816ALIGN="RIGHT"
817VALIGN="TOP"
818><TT
819CLASS="PARAMETER"
820><I
821>strdupFunc</I
822></TT
823>&nbsp;:</TD
824><TD
825WIDTH="80%"
826ALIGN="LEFT"
827VALIGN="TOP"
828> the <GTKDOCLINK
829HREF="STRDUP"
830>strdup</GTKDOCLINK
831>() function to use</TD
832></TR
833><TR
834><TD
835WIDTH="20%"
836ALIGN="RIGHT"
837VALIGN="TOP"
838><I
839CLASS="EMPHASIS"
840>Returns</I
841> :</TD
842><TD
843WIDTH="80%"
844ALIGN="LEFT"
845VALIGN="TOP"
846>0 on success</TD
847></TR
848></TABLE
849><P
850></P
851></DIV
852></DIV
853><HR><DIV
854CLASS="REFSECT2"
855><A
856NAME="AEN13625"
857></A
858><H3
859><A
860NAME="XMLMEMGET"
861></A
862>xmlMemGet ()</H3
863><TABLE
864BORDER="0"
865BGCOLOR="#D6E8FF"
866WIDTH="100%"
867CELLPADDING="6"
868><TR
869><TD
870><PRE
871CLASS="PROGRAMLISTING"
872>int xmlMemGet (<A
873HREF="gnome-xml-xmlmemory.html#XMLFREEFUNC"
874>xmlFreeFunc</A
875> *freeFunc,
876 <A
877HREF="gnome-xml-xmlmemory.html#XMLMALLOCFUNC"
878>xmlMallocFunc</A
879> *mallocFunc,
880 <A
881HREF="gnome-xml-xmlmemory.html#XMLREALLOCFUNC"
882>xmlReallocFunc</A
883> *reallocFunc,
884 <A
885HREF="gnome-xml-xmlmemory.html#XMLSTRDUPFUNC"
886>xmlStrdupFunc</A
887> *strdupFunc);</PRE
888></TD
889></TR
890></TABLE
891><P
892>Return the memory access functions set currently in use</P
893><P
894></P
895><DIV
896CLASS="INFORMALTABLE"
897><P
898></P
899><TABLE
900BORDER="0"
901WIDTH="100%"
902BGCOLOR="#FFD0D0"
903CELLSPACING="0"
904CELLPADDING="4"
905CLASS="CALSTABLE"
906><TR
907><TD
908WIDTH="20%"
909ALIGN="RIGHT"
910VALIGN="TOP"
911><TT
912CLASS="PARAMETER"
913><I
914>freeFunc</I
915></TT
916>&nbsp;:</TD
917><TD
918WIDTH="80%"
919ALIGN="LEFT"
920VALIGN="TOP"
921> the <GTKDOCLINK
922HREF="FREE"
923>free</GTKDOCLINK
924>() function in use</TD
925></TR
926><TR
927><TD
928WIDTH="20%"
929ALIGN="RIGHT"
930VALIGN="TOP"
931><TT
932CLASS="PARAMETER"
933><I
934>mallocFunc</I
935></TT
936>&nbsp;:</TD
937><TD
938WIDTH="80%"
939ALIGN="LEFT"
940VALIGN="TOP"
941> the <GTKDOCLINK
942HREF="MALLOC"
943>malloc</GTKDOCLINK
944>() function in use</TD
945></TR
946><TR
947><TD
948WIDTH="20%"
949ALIGN="RIGHT"
950VALIGN="TOP"
951><TT
952CLASS="PARAMETER"
953><I
954>reallocFunc</I
955></TT
956>&nbsp;:</TD
957><TD
958WIDTH="80%"
959ALIGN="LEFT"
960VALIGN="TOP"
961> the <GTKDOCLINK
962HREF="REALLOC"
963>realloc</GTKDOCLINK
964>() function in use</TD
965></TR
966><TR
967><TD
968WIDTH="20%"
969ALIGN="RIGHT"
970VALIGN="TOP"
971><TT
972CLASS="PARAMETER"
973><I
974>strdupFunc</I
975></TT
976>&nbsp;:</TD
977><TD
978WIDTH="80%"
979ALIGN="LEFT"
980VALIGN="TOP"
981> the <GTKDOCLINK
982HREF="STRDUP"
983>strdup</GTKDOCLINK
984>() function in use</TD
985></TR
986><TR
987><TD
988WIDTH="20%"
989ALIGN="RIGHT"
990VALIGN="TOP"
991><I
992CLASS="EMPHASIS"
993>Returns</I
994> :</TD
995><TD
996WIDTH="80%"
997ALIGN="LEFT"
998VALIGN="TOP"
999>0 on success</TD
1000></TR
1001></TABLE
1002><P
1003></P
1004></DIV
1005></DIV
1006><HR><DIV
1007CLASS="REFSECT2"
1008><A
1009NAME="AEN13664"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001010></A
1011><H3
1012><A
1013NAME="XMLINITMEMORY"
1014></A
1015>xmlInitMemory ()</H3
1016><TABLE
1017BORDER="0"
1018BGCOLOR="#D6E8FF"
1019WIDTH="100%"
1020CELLPADDING="6"
1021><TR
1022><TD
1023><PRE
1024CLASS="PROGRAMLISTING"
1025>int xmlInitMemory (void);</PRE
1026></TD
1027></TR
1028></TABLE
1029><P
1030>Initialize the memory layer.</P
1031><P
1032></P
1033><DIV
1034CLASS="INFORMALTABLE"
1035><P
1036></P
1037><TABLE
1038BORDER="0"
1039WIDTH="100%"
1040BGCOLOR="#FFD0D0"
1041CELLSPACING="0"
1042CELLPADDING="4"
1043CLASS="CALSTABLE"
1044><TR
1045><TD
1046WIDTH="20%"
1047ALIGN="RIGHT"
1048VALIGN="TOP"
1049><I
1050CLASS="EMPHASIS"
1051>Returns</I
1052> :</TD
1053><TD
1054WIDTH="80%"
1055ALIGN="LEFT"
1056VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001057>0 on success</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001058></TR
1059></TABLE
1060><P
1061></P
1062></DIV
1063></DIV
1064><HR><DIV
1065CLASS="REFSECT2"
1066><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001067NAME="AEN13679"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001068></A
1069><H3
1070><A
1071NAME="XMLMEMUSED"
1072></A
1073>xmlMemUsed ()</H3
1074><TABLE
1075BORDER="0"
1076BGCOLOR="#D6E8FF"
1077WIDTH="100%"
1078CELLPADDING="6"
1079><TR
1080><TD
1081><PRE
1082CLASS="PROGRAMLISTING"
1083>int xmlMemUsed (void);</PRE
1084></TD
1085></TR
1086></TABLE
1087><P
1088>returns the amount of memory currenly allocated</P
1089><P
1090></P
1091><DIV
1092CLASS="INFORMALTABLE"
1093><P
1094></P
1095><TABLE
1096BORDER="0"
1097WIDTH="100%"
1098BGCOLOR="#FFD0D0"
1099CELLSPACING="0"
1100CELLPADDING="4"
1101CLASS="CALSTABLE"
1102><TR
1103><TD
1104WIDTH="20%"
1105ALIGN="RIGHT"
1106VALIGN="TOP"
1107><I
1108CLASS="EMPHASIS"
1109>Returns</I
1110> :</TD
1111><TD
1112WIDTH="80%"
1113ALIGN="LEFT"
1114VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001115>an int representing the amount of memory allocated.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001116></TR
1117></TABLE
1118><P
1119></P
1120></DIV
1121></DIV
1122><HR><DIV
1123CLASS="REFSECT2"
1124><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001125NAME="AEN13694"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001126></A
1127><H3
1128><A
1129NAME="XMLMEMDISPLAY"
1130></A
1131>xmlMemDisplay ()</H3
1132><TABLE
1133BORDER="0"
1134BGCOLOR="#D6E8FF"
1135WIDTH="100%"
1136CELLPADDING="6"
1137><TR
1138><TD
1139><PRE
1140CLASS="PROGRAMLISTING"
1141>void xmlMemDisplay (<GTKDOCLINK
1142HREF="FILE"
1143>FILE</GTKDOCLINK
1144> *fp);</PRE
1145></TD
1146></TR
1147></TABLE
1148><P
1149>show in-extenso the memory blocks allocated</P
1150><P
1151></P
1152><DIV
1153CLASS="INFORMALTABLE"
1154><P
1155></P
1156><TABLE
1157BORDER="0"
1158WIDTH="100%"
1159BGCOLOR="#FFD0D0"
1160CELLSPACING="0"
1161CELLPADDING="4"
1162CLASS="CALSTABLE"
1163><TR
1164><TD
1165WIDTH="20%"
1166ALIGN="RIGHT"
1167VALIGN="TOP"
1168><TT
1169CLASS="PARAMETER"
1170><I
1171>fp</I
1172></TT
1173>&nbsp;:</TD
1174><TD
1175WIDTH="80%"
1176ALIGN="LEFT"
1177VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001178> a FILE descriptor used as the output file, if NULL, the result is
1179written to the file .memorylist</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001180></TR
1181></TABLE
1182><P
1183></P
1184></DIV
1185></DIV
1186><HR><DIV
1187CLASS="REFSECT2"
1188><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001189NAME="AEN13710"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001190></A
1191><H3
1192><A
1193NAME="XMLMEMSHOW"
1194></A
1195>xmlMemShow ()</H3
1196><TABLE
1197BORDER="0"
1198BGCOLOR="#D6E8FF"
1199WIDTH="100%"
1200CELLPADDING="6"
1201><TR
1202><TD
1203><PRE
1204CLASS="PROGRAMLISTING"
1205>void xmlMemShow (<GTKDOCLINK
1206HREF="FILE"
1207>FILE</GTKDOCLINK
1208> *fp,
1209 int nr);</PRE
1210></TD
1211></TR
1212></TABLE
1213><P
1214>show a show display of the memory allocated, and dump
1215the <TT
1216CLASS="PARAMETER"
1217><I
1218>nr</I
1219></TT
1220> last allocated areas which were not freed</P
1221><P
1222></P
1223><DIV
1224CLASS="INFORMALTABLE"
1225><P
1226></P
1227><TABLE
1228BORDER="0"
1229WIDTH="100%"
1230BGCOLOR="#FFD0D0"
1231CELLSPACING="0"
1232CELLPADDING="4"
1233CLASS="CALSTABLE"
1234><TR
1235><TD
1236WIDTH="20%"
1237ALIGN="RIGHT"
1238VALIGN="TOP"
1239><TT
1240CLASS="PARAMETER"
1241><I
1242>fp</I
1243></TT
1244>&nbsp;:</TD
1245><TD
1246WIDTH="80%"
1247ALIGN="LEFT"
1248VALIGN="TOP"
1249> a FILE descriptor used as the output file</TD
1250></TR
1251><TR
1252><TD
1253WIDTH="20%"
1254ALIGN="RIGHT"
1255VALIGN="TOP"
1256><TT
1257CLASS="PARAMETER"
1258><I
1259>nr</I
1260></TT
1261>&nbsp;:</TD
1262><TD
1263WIDTH="80%"
1264ALIGN="LEFT"
1265VALIGN="TOP"
1266> number of entries to dump</TD
1267></TR
1268></TABLE
1269><P
1270></P
1271></DIV
1272></DIV
1273><HR><DIV
1274CLASS="REFSECT2"
1275><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001276NAME="AEN13731"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001277></A
1278><H3
1279><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001280NAME="XMLMEMORYDUMP"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001281></A
Daniel Veillard8f621982000-03-20 13:07:15 +00001282>xmlMemoryDump ()</H3
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001283><TABLE
1284BORDER="0"
1285BGCOLOR="#D6E8FF"
1286WIDTH="100%"
1287CELLPADDING="6"
1288><TR
1289><TD
1290><PRE
1291CLASS="PROGRAMLISTING"
Daniel Veillard8f621982000-03-20 13:07:15 +00001292>void xmlMemoryDump (void);</PRE
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001293></TD
1294></TR
1295></TABLE
1296><P
Daniel Veillard8f621982000-03-20 13:07:15 +00001297>Dump in-extenso the memory blocks allocated to the file .memorylist</P
1298><P
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001299></P
1300></DIV
1301><HR><DIV
1302CLASS="REFSECT2"
1303><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001304NAME="AEN13737"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001305></A
1306><H3
1307><A
1308NAME="XMLMALLOCLOC"
1309></A
1310>xmlMallocLoc ()</H3
1311><TABLE
1312BORDER="0"
1313BGCOLOR="#D6E8FF"
1314WIDTH="100%"
1315CELLPADDING="6"
1316><TR
1317><TD
1318><PRE
1319CLASS="PROGRAMLISTING"
1320>void* xmlMallocLoc (int size,
1321 const char *file,
1322 int line);</PRE
1323></TD
1324></TR
1325></TABLE
1326><P
1327>a <GTKDOCLINK
1328HREF="MALLOC"
1329>malloc</GTKDOCLINK
1330>() equivalent, with logging of the allocation info.</P
1331><P
1332></P
1333><DIV
1334CLASS="INFORMALTABLE"
1335><P
1336></P
1337><TABLE
1338BORDER="0"
1339WIDTH="100%"
1340BGCOLOR="#FFD0D0"
1341CELLSPACING="0"
1342CELLPADDING="4"
1343CLASS="CALSTABLE"
1344><TR
1345><TD
1346WIDTH="20%"
1347ALIGN="RIGHT"
1348VALIGN="TOP"
1349><TT
1350CLASS="PARAMETER"
1351><I
1352>size</I
1353></TT
1354>&nbsp;:</TD
1355><TD
1356WIDTH="80%"
1357ALIGN="LEFT"
1358VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001359> an int specifying the size in byte to allocate.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001360></TR
1361><TR
1362><TD
1363WIDTH="20%"
1364ALIGN="RIGHT"
1365VALIGN="TOP"
1366><TT
1367CLASS="PARAMETER"
1368><I
1369>file</I
1370></TT
1371>&nbsp;:</TD
1372><TD
1373WIDTH="80%"
1374ALIGN="LEFT"
1375VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001376> the file name or NULL
1377 <TT
1378CLASS="PARAMETER"
1379><I
1380>file</I
1381></TT
1382>: the line number</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001383></TR
1384><TR
1385><TD
1386WIDTH="20%"
1387ALIGN="RIGHT"
1388VALIGN="TOP"
1389><TT
1390CLASS="PARAMETER"
1391><I
1392>line</I
1393></TT
1394>&nbsp;:</TD
1395><TD
1396WIDTH="80%"
1397ALIGN="LEFT"
1398VALIGN="TOP"
1399>&nbsp;</TD
1400></TR
1401></TABLE
1402><P
1403></P
1404></DIV
1405></DIV
1406><HR><DIV
1407CLASS="REFSECT2"
1408><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001409NAME="AEN13762"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001410></A
1411><H3
1412><A
1413NAME="XMLREALLOCLOC"
1414></A
1415>xmlReallocLoc ()</H3
1416><TABLE
1417BORDER="0"
1418BGCOLOR="#D6E8FF"
1419WIDTH="100%"
1420CELLPADDING="6"
1421><TR
1422><TD
1423><PRE
1424CLASS="PROGRAMLISTING"
1425>void* xmlReallocLoc (void *ptr,
1426 int size,
1427 const char *file,
1428 int line);</PRE
1429></TD
1430></TR
1431></TABLE
1432><P
1433>a <GTKDOCLINK
1434HREF="REALLOC"
1435>realloc</GTKDOCLINK
1436>() equivalent, with logging of the allocation info.</P
1437><P
1438></P
1439><DIV
1440CLASS="INFORMALTABLE"
1441><P
1442></P
1443><TABLE
1444BORDER="0"
1445WIDTH="100%"
1446BGCOLOR="#FFD0D0"
1447CELLSPACING="0"
1448CELLPADDING="4"
1449CLASS="CALSTABLE"
1450><TR
1451><TD
1452WIDTH="20%"
1453ALIGN="RIGHT"
1454VALIGN="TOP"
1455><TT
1456CLASS="PARAMETER"
1457><I
1458>ptr</I
1459></TT
1460>&nbsp;:</TD
1461><TD
1462WIDTH="80%"
1463ALIGN="LEFT"
1464VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001465> the initial memory block pointer</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001466></TR
1467><TR
1468><TD
1469WIDTH="20%"
1470ALIGN="RIGHT"
1471VALIGN="TOP"
1472><TT
1473CLASS="PARAMETER"
1474><I
1475>size</I
1476></TT
1477>&nbsp;:</TD
1478><TD
1479WIDTH="80%"
1480ALIGN="LEFT"
1481VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001482> an int specifying the size in byte to allocate.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001483></TR
1484><TR
1485><TD
1486WIDTH="20%"
1487ALIGN="RIGHT"
1488VALIGN="TOP"
1489><TT
1490CLASS="PARAMETER"
1491><I
1492>file</I
1493></TT
1494>&nbsp;:</TD
1495><TD
1496WIDTH="80%"
1497ALIGN="LEFT"
1498VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001499> the file name or NULL</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001500></TR
1501><TR
1502><TD
1503WIDTH="20%"
1504ALIGN="RIGHT"
1505VALIGN="TOP"
1506><TT
1507CLASS="PARAMETER"
1508><I
1509>line</I
1510></TT
1511>&nbsp;:</TD
1512><TD
1513WIDTH="80%"
1514ALIGN="LEFT"
1515VALIGN="TOP"
1516>&nbsp;</TD
1517></TR
1518></TABLE
1519><P
1520></P
1521></DIV
1522></DIV
1523><HR><DIV
1524CLASS="REFSECT2"
1525><A
Daniel Veillard8f621982000-03-20 13:07:15 +00001526NAME="AEN13790"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001527></A
1528><H3
1529><A
1530NAME="XMLMEMSTRDUPLOC"
1531></A
1532>xmlMemStrdupLoc ()</H3
1533><TABLE
1534BORDER="0"
1535BGCOLOR="#D6E8FF"
1536WIDTH="100%"
1537CELLPADDING="6"
1538><TR
1539><TD
1540><PRE
1541CLASS="PROGRAMLISTING"
1542>char* xmlMemStrdupLoc (const char *str,
1543 const char *file,
1544 int line);</PRE
1545></TD
1546></TR
1547></TABLE
1548><P
1549>a <GTKDOCLINK
1550HREF="STRDUP"
1551>strdup</GTKDOCLINK
1552>() equivalent, with logging of the allocation info.</P
1553><P
1554></P
1555><DIV
1556CLASS="INFORMALTABLE"
1557><P
1558></P
1559><TABLE
1560BORDER="0"
1561WIDTH="100%"
1562BGCOLOR="#FFD0D0"
1563CELLSPACING="0"
1564CELLPADDING="4"
1565CLASS="CALSTABLE"
1566><TR
1567><TD
1568WIDTH="20%"
1569ALIGN="RIGHT"
1570VALIGN="TOP"
1571><TT
1572CLASS="PARAMETER"
1573><I
1574>str</I
1575></TT
1576>&nbsp;:</TD
1577><TD
1578WIDTH="80%"
1579ALIGN="LEFT"
1580VALIGN="TOP"
1581>&nbsp;</TD
1582></TR
1583><TR
1584><TD
1585WIDTH="20%"
1586ALIGN="RIGHT"
1587VALIGN="TOP"
1588><TT
1589CLASS="PARAMETER"
1590><I
1591>file</I
1592></TT
1593>&nbsp;:</TD
1594><TD
1595WIDTH="80%"
1596ALIGN="LEFT"
1597VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001598> the file name or NULL</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001599></TR
1600><TR
1601><TD
1602WIDTH="20%"
1603ALIGN="RIGHT"
1604VALIGN="TOP"
1605><TT
1606CLASS="PARAMETER"
1607><I
1608>line</I
1609></TT
1610>&nbsp;:</TD
1611><TD
1612WIDTH="80%"
1613ALIGN="LEFT"
1614VALIGN="TOP"
1615>&nbsp;</TD
1616></TR
1617><TR
1618><TD
1619WIDTH="20%"
1620ALIGN="RIGHT"
1621VALIGN="TOP"
1622><I
1623CLASS="EMPHASIS"
1624>Returns</I
1625> :</TD
1626><TD
1627WIDTH="80%"
1628ALIGN="LEFT"
1629VALIGN="TOP"
Daniel Veillardf3a73582000-01-05 14:58:39 +00001630>a pointer to the new string or NULL if allocation error occured.</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001631></TR
1632></TABLE
1633><P
1634></P
1635></DIV
1636></DIV
1637></DIV
1638><DIV
1639CLASS="NAVFOOTER"
1640><BR
1641CLEAR="all"><BR><TABLE
1642WIDTH="100%"
1643BORDER="0"
1644BGCOLOR="#000000"
1645CELLPADDING="1"
1646CELLSPACING="0"
1647><TR
1648><TD
1649WIDTH="25%"
1650BGCOLOR="#C00000"
1651ALIGN="left"
1652><A
Daniel Veillard294cbca1999-12-03 13:19:09 +00001653HREF="gnome-xml-debugxml.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001654><FONT
1655COLOR="#FFFFFF"
1656SIZE="3"
1657><B
1658>&#60;&#60;&#60; Previous Page</B
1659></FONT
1660></A
1661></TD
1662><TD
1663WIDTH="25%"
1664BGCOLOR="#0000C0"
1665ALIGN="center"
1666><FONT
1667COLOR="#FFFFFF"
1668SIZE="3"
1669><B
1670><A
1671HREF="book1.html"
1672><FONT
1673COLOR="#FFFFFF"
1674SIZE="3"
1675><B
1676>Home</B
1677></FONT
1678></A
1679></B
1680></FONT
1681></TD
1682><TD
1683WIDTH="25%"
1684BGCOLOR="#00C000"
1685ALIGN="center"
1686><FONT
1687COLOR="#FFFFFF"
1688SIZE="3"
1689><B
1690><A
Daniel Veillard35008381999-10-25 13:15:52 +00001691HREF="libxml-lib.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001692><FONT
1693COLOR="#FFFFFF"
1694SIZE="3"
1695><B
1696>Up</B
1697></FONT
1698></A
1699></B
1700></FONT
1701></TD
1702><TD
1703WIDTH="25%"
1704BGCOLOR="#C00000"
1705ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +00001706>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001707></TR
1708><TR
1709><TD
1710COLSPAN="2"
1711ALIGN="left"
1712><FONT
1713COLOR="#FFFFFF"
1714SIZE="3"
1715><B
Daniel Veillard294cbca1999-12-03 13:19:09 +00001716>debugXML</B
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001717></FONT
1718></TD
1719><TD
1720COLSPAN="2"
1721ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +00001722>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001723></TR
1724></TABLE
1725></DIV
1726></BODY
1727></HTML
1728>