blob: 33baba36cabbf807b87468f8c1121e6ab901b5b4 [file] [log] [blame]
Daniel Veillard7c1206f1999-10-14 09:10:25 +00001<HTML
2><HEAD
3><TITLE
4>nanohttp</TITLE
5><META
6NAME="GENERATOR"
Daniel Veillard71b656e2000-01-05 14:46:17 +00007CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><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 Veillard35008381999-10-25 13:15:52 +000015TITLE="xpath"
16HREF="gnome-xml-xpath.html"><LINK
17REL="NEXT"
Daniel Veillard294cbca1999-12-03 13:19:09 +000018TITLE="xmlIO"
19HREF="gnome-xml-xmlio.html"></HEAD
Daniel Veillard7c1206f1999-10-14 09:10:25 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
Daniel Veillard71b656e2000-01-05 14:46:17 +000023LINK="#0000FF"
24VLINK="#840084"
25ALINK="#0000FF"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000026><DIV
27CLASS="NAVHEADER"
28><TABLE
29WIDTH="100%"
30BORDER="0"
31BGCOLOR="#000000"
32CELLPADDING="1"
33CELLSPACING="0"
34><TR
35><TH
36COLSPAN="4"
37ALIGN="center"
38><FONT
39COLOR="#FFFFFF"
40SIZE="5"
41>Gnome XML Library Reference Manual</FONT
42></TH
43></TR
44><TR
45><TD
46WIDTH="25%"
47BGCOLOR="#C00000"
48ALIGN="left"
49><A
Daniel Veillard35008381999-10-25 13:15:52 +000050HREF="gnome-xml-xpath.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000051><FONT
52COLOR="#FFFFFF"
53SIZE="3"
54><B
55>&#60;&#60;&#60; Previous Page</B
56></FONT
57></A
58></TD
59><TD
60WIDTH="25%"
61BGCOLOR="#0000C0"
62ALIGN="center"
63><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67><A
68HREF="book1.html"
69><FONT
70COLOR="#FFFFFF"
71SIZE="3"
72><B
73>Home</B
74></FONT
75></A
76></B
77></FONT
78></TD
79><TD
80WIDTH="25%"
81BGCOLOR="#00C000"
82ALIGN="center"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87><A
Daniel Veillard35008381999-10-25 13:15:52 +000088HREF="libxml-lib.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +000089><FONT
90COLOR="#FFFFFF"
91SIZE="3"
92><B
93>Up</B
94></FONT
95></A
96></B
97></FONT
98></TD
99><TD
100WIDTH="25%"
101BGCOLOR="#C00000"
102ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +0000103><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000104HREF="gnome-xml-xmlio.html"
Daniel Veillard35008381999-10-25 13:15:52 +0000105><FONT
106COLOR="#FFFFFF"
107SIZE="3"
108><B
109>Next Page &#62;&#62;&#62;</B
110></FONT
111></A
112></TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000113></TR
114></TABLE
115></DIV
116><H1
Daniel Veillard71b656e2000-01-05 14:46:17 +0000117><A
118NAME="GNOME-XML-NANOHTTP"
119>nanohttp</A
120></H1
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000121><DIV
122CLASS="REFNAMEDIV"
123><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000124NAME="AEN7879"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000125></A
126><H2
127>Name</H2
Daniel Veillard71b656e2000-01-05 14:46:17 +0000128>nanohttp&nbsp;--&nbsp;</DIV
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000129><DIV
130CLASS="REFSYNOPSISDIV"
131><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000132NAME="AEN7882"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000133></A
134><H2
135>Synopsis</H2
136><TABLE
137BORDER="0"
138BGCOLOR="#D6E8FF"
139WIDTH="100%"
140CELLPADDING="6"
141><TR
142><TD
143><PRE
144CLASS="SYNOPSIS"
145>&#13;
146
147int <A
148HREF="gnome-xml-nanohttp.html#XMLNANOHTTPFETCH"
149>xmlNanoHTTPFetch</A
150> (const char *URL,
Daniel Veillard35008381999-10-25 13:15:52 +0000151 const char *filename,
152 char **contentType);
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000153void* <A
154HREF="gnome-xml-nanohttp.html#XMLNANOHTTPMETHOD"
155>xmlNanoHTTPMethod</A
156> (const char *URL,
157 const char *method,
158 const char *input,
159 char **contentType,
160 const char *headers);
161void* <A
162HREF="gnome-xml-nanohttp.html#XMLNANOHTTPOPEN"
163>xmlNanoHTTPOpen</A
164> (const char *URL,
165 char **contentType);
166int <A
167HREF="gnome-xml-nanohttp.html#XMLNANOHTTPRETURNCODE"
168>xmlNanoHTTPReturnCode</A
169> (void *ctx);
170int <A
171HREF="gnome-xml-nanohttp.html#XMLNANOHTTPREAD"
172>xmlNanoHTTPRead</A
173> (void *ctx,
174 void *dest,
175 int len);
176int <A
177HREF="gnome-xml-nanohttp.html#XMLNANOHTTPSAVE"
178>xmlNanoHTTPSave</A
179> (void *ctxt,
180 const char *filename);
181void <A
182HREF="gnome-xml-nanohttp.html#XMLNANOHTTPCLOSE"
183>xmlNanoHTTPClose</A
184> (void *ctx);</PRE
185></TD
186></TR
187></TABLE
188></DIV
189><DIV
190CLASS="REFSECT1"
191><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000192NAME="AEN7892"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000193></A
194><H2
195>Description</H2
196><P
197></P
198></DIV
199><DIV
200CLASS="REFSECT1"
201><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000202NAME="AEN7895"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000203></A
204><H2
205>Details</H2
206><DIV
207CLASS="REFSECT2"
208><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000209NAME="AEN7897"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000210></A
211><H3
212><A
213NAME="XMLNANOHTTPFETCH"
214></A
215>xmlNanoHTTPFetch ()</H3
216><TABLE
217BORDER="0"
218BGCOLOR="#D6E8FF"
219WIDTH="100%"
220CELLPADDING="6"
221><TR
222><TD
223><PRE
224CLASS="PROGRAMLISTING"
225>int xmlNanoHTTPFetch (const char *URL,
Daniel Veillard35008381999-10-25 13:15:52 +0000226 const char *filename,
227 char **contentType);</PRE
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000228></TD
229></TR
230></TABLE
231><P
232>This function try to fetch the indicated resource via HTTP GET
233and save it's content in the file.</P
234><P
235></P
236><DIV
237CLASS="INFORMALTABLE"
238><P
239></P
240><TABLE
241BORDER="0"
242WIDTH="100%"
243BGCOLOR="#FFD0D0"
244CELLSPACING="0"
245CELLPADDING="4"
246CLASS="CALSTABLE"
247><TR
248><TD
249WIDTH="20%"
250ALIGN="RIGHT"
251VALIGN="TOP"
252><TT
253CLASS="PARAMETER"
254><I
255>URL</I
256></TT
257>&nbsp;:</TD
258><TD
259WIDTH="80%"
260ALIGN="LEFT"
261VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000262>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000263></TR
264><TR
265><TD
266WIDTH="20%"
267ALIGN="RIGHT"
268VALIGN="TOP"
269><TT
270CLASS="PARAMETER"
271><I
272>filename</I
273></TT
274>&nbsp;:</TD
275><TD
276WIDTH="80%"
277ALIGN="LEFT"
278VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000279>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000280></TR
281><TR
282><TD
283WIDTH="20%"
284ALIGN="RIGHT"
285VALIGN="TOP"
Daniel Veillard35008381999-10-25 13:15:52 +0000286><TT
287CLASS="PARAMETER"
288><I
289>contentType</I
290></TT
291>&nbsp;:</TD
292><TD
293WIDTH="80%"
294ALIGN="LEFT"
295VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000296>&nbsp;</TD
Daniel Veillard35008381999-10-25 13:15:52 +0000297></TR
298><TR
299><TD
300WIDTH="20%"
301ALIGN="RIGHT"
302VALIGN="TOP"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000303><I
304CLASS="EMPHASIS"
305>Returns</I
306> :</TD
307><TD
308WIDTH="80%"
309ALIGN="LEFT"
310VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000311>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000312></TR
313></TABLE
314><P
315></P
316></DIV
317></DIV
318><HR><DIV
319CLASS="REFSECT2"
320><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000321NAME="AEN7924"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000322></A
323><H3
324><A
325NAME="XMLNANOHTTPMETHOD"
326></A
327>xmlNanoHTTPMethod ()</H3
328><TABLE
329BORDER="0"
330BGCOLOR="#D6E8FF"
331WIDTH="100%"
332CELLPADDING="6"
333><TR
334><TD
335><PRE
336CLASS="PROGRAMLISTING"
337>void* xmlNanoHTTPMethod (const char *URL,
338 const char *method,
339 const char *input,
340 char **contentType,
341 const char *headers);</PRE
342></TD
343></TR
344></TABLE
345><P
346>This function try to open a connection to the indicated resource
347via HTTP using the given <TT
348CLASS="PARAMETER"
349><I
350>method</I
351></TT
352>, adding the given extra headers
353and the input buffer for the request content.</P
354><P
355></P
356><DIV
357CLASS="INFORMALTABLE"
358><P
359></P
360><TABLE
361BORDER="0"
362WIDTH="100%"
363BGCOLOR="#FFD0D0"
364CELLSPACING="0"
365CELLPADDING="4"
366CLASS="CALSTABLE"
367><TR
368><TD
369WIDTH="20%"
370ALIGN="RIGHT"
371VALIGN="TOP"
372><TT
373CLASS="PARAMETER"
374><I
375>URL</I
376></TT
377>&nbsp;:</TD
378><TD
379WIDTH="80%"
380ALIGN="LEFT"
381VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000382>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000383></TR
384><TR
385><TD
386WIDTH="20%"
387ALIGN="RIGHT"
388VALIGN="TOP"
389><TT
390CLASS="PARAMETER"
391><I
392>method</I
393></TT
394>&nbsp;:</TD
395><TD
396WIDTH="80%"
397ALIGN="LEFT"
398VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000399>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000400></TR
401><TR
402><TD
403WIDTH="20%"
404ALIGN="RIGHT"
405VALIGN="TOP"
406><TT
407CLASS="PARAMETER"
408><I
409>input</I
410></TT
411>&nbsp;:</TD
412><TD
413WIDTH="80%"
414ALIGN="LEFT"
415VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000416>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000417></TR
418><TR
419><TD
420WIDTH="20%"
421ALIGN="RIGHT"
422VALIGN="TOP"
423><TT
424CLASS="PARAMETER"
425><I
426>contentType</I
427></TT
428>&nbsp;:</TD
429><TD
430WIDTH="80%"
431ALIGN="LEFT"
432VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000433>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000434></TR
435><TR
436><TD
437WIDTH="20%"
438ALIGN="RIGHT"
439VALIGN="TOP"
440><TT
441CLASS="PARAMETER"
442><I
443>headers</I
444></TT
445>&nbsp;:</TD
446><TD
447WIDTH="80%"
448ALIGN="LEFT"
449VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000450>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000451></TR
452></TABLE
453><P
454></P
455></DIV
456></DIV
457><HR><DIV
458CLASS="REFSECT2"
459><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000460NAME="AEN7956"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000461></A
462><H3
463><A
464NAME="XMLNANOHTTPOPEN"
465></A
466>xmlNanoHTTPOpen ()</H3
467><TABLE
468BORDER="0"
469BGCOLOR="#D6E8FF"
470WIDTH="100%"
471CELLPADDING="6"
472><TR
473><TD
474><PRE
475CLASS="PROGRAMLISTING"
476>void* xmlNanoHTTPOpen (const char *URL,
477 char **contentType);</PRE
478></TD
479></TR
480></TABLE
481><P
482>This function try to open a connection to the indicated resource
483via HTTP GET.</P
484><P
485></P
486><DIV
487CLASS="INFORMALTABLE"
488><P
489></P
490><TABLE
491BORDER="0"
492WIDTH="100%"
493BGCOLOR="#FFD0D0"
494CELLSPACING="0"
495CELLPADDING="4"
496CLASS="CALSTABLE"
497><TR
498><TD
499WIDTH="20%"
500ALIGN="RIGHT"
501VALIGN="TOP"
502><TT
503CLASS="PARAMETER"
504><I
505>URL</I
506></TT
507>&nbsp;:</TD
508><TD
509WIDTH="80%"
510ALIGN="LEFT"
511VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000512>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000513></TR
514><TR
515><TD
516WIDTH="20%"
517ALIGN="RIGHT"
518VALIGN="TOP"
519><TT
520CLASS="PARAMETER"
521><I
522>contentType</I
523></TT
524>&nbsp;:</TD
525><TD
526WIDTH="80%"
527ALIGN="LEFT"
528VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000529>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000530></TR
531></TABLE
532><P
533></P
534></DIV
535></DIV
536><HR><DIV
537CLASS="REFSECT2"
538><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000539NAME="AEN7975"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000540></A
541><H3
542><A
543NAME="XMLNANOHTTPRETURNCODE"
544></A
545>xmlNanoHTTPReturnCode ()</H3
546><TABLE
547BORDER="0"
548BGCOLOR="#D6E8FF"
549WIDTH="100%"
550CELLPADDING="6"
551><TR
552><TD
553><PRE
554CLASS="PROGRAMLISTING"
555>int xmlNanoHTTPReturnCode (void *ctx);</PRE
556></TD
557></TR
558></TABLE
559><P
560></P
561><P
562></P
563><DIV
564CLASS="INFORMALTABLE"
565><P
566></P
567><TABLE
568BORDER="0"
569WIDTH="100%"
570BGCOLOR="#FFD0D0"
571CELLSPACING="0"
572CELLPADDING="4"
573CLASS="CALSTABLE"
574><TR
575><TD
576WIDTH="20%"
577ALIGN="RIGHT"
578VALIGN="TOP"
579><TT
580CLASS="PARAMETER"
581><I
582>ctx</I
583></TT
584>&nbsp;:</TD
585><TD
586WIDTH="80%"
587ALIGN="LEFT"
588VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000589>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000590></TR
591><TR
592><TD
593WIDTH="20%"
594ALIGN="RIGHT"
595VALIGN="TOP"
596><I
597CLASS="EMPHASIS"
598>Returns</I
599> :</TD
600><TD
601WIDTH="80%"
602ALIGN="LEFT"
603VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000604>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000605></TR
606></TABLE
607><P
608></P
609></DIV
610></DIV
611><HR><DIV
612CLASS="REFSECT2"
613><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000614NAME="AEN7994"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000615></A
616><H3
617><A
618NAME="XMLNANOHTTPREAD"
619></A
620>xmlNanoHTTPRead ()</H3
621><TABLE
622BORDER="0"
623BGCOLOR="#D6E8FF"
624WIDTH="100%"
625CELLPADDING="6"
626><TR
627><TD
628><PRE
629CLASS="PROGRAMLISTING"
630>int xmlNanoHTTPRead (void *ctx,
631 void *dest,
632 int len);</PRE
633></TD
634></TR
635></TABLE
636><P
637>This function tries to read <TT
638CLASS="PARAMETER"
639><I
640>len</I
641></TT
642> bytes from the existing HTTP connection
643and saves them in <TT
644CLASS="PARAMETER"
645><I
646>dest</I
647></TT
648>. This is a blocking call.</P
649><P
650></P
651><DIV
652CLASS="INFORMALTABLE"
653><P
654></P
655><TABLE
656BORDER="0"
657WIDTH="100%"
658BGCOLOR="#FFD0D0"
659CELLSPACING="0"
660CELLPADDING="4"
661CLASS="CALSTABLE"
662><TR
663><TD
664WIDTH="20%"
665ALIGN="RIGHT"
666VALIGN="TOP"
667><TT
668CLASS="PARAMETER"
669><I
670>ctx</I
671></TT
672>&nbsp;:</TD
673><TD
674WIDTH="80%"
675ALIGN="LEFT"
676VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000677>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000678></TR
679><TR
680><TD
681WIDTH="20%"
682ALIGN="RIGHT"
683VALIGN="TOP"
684><TT
685CLASS="PARAMETER"
686><I
687>dest</I
688></TT
689>&nbsp;:</TD
690><TD
691WIDTH="80%"
692ALIGN="LEFT"
693VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000694>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000695></TR
696><TR
697><TD
698WIDTH="20%"
699ALIGN="RIGHT"
700VALIGN="TOP"
701><TT
702CLASS="PARAMETER"
703><I
704>len</I
705></TT
706>&nbsp;:</TD
707><TD
708WIDTH="80%"
709ALIGN="LEFT"
710VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000711>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000712></TR
713><TR
714><TD
715WIDTH="20%"
716ALIGN="RIGHT"
717VALIGN="TOP"
718><I
719CLASS="EMPHASIS"
720>Returns</I
721> :</TD
722><TD
723WIDTH="80%"
724ALIGN="LEFT"
725VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000726>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000727></TR
728></TABLE
729><P
730></P
731></DIV
732></DIV
733><HR><DIV
734CLASS="REFSECT2"
735><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000736NAME="AEN8023"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000737></A
738><H3
739><A
740NAME="XMLNANOHTTPSAVE"
741></A
742>xmlNanoHTTPSave ()</H3
743><TABLE
744BORDER="0"
745BGCOLOR="#D6E8FF"
746WIDTH="100%"
747CELLPADDING="6"
748><TR
749><TD
750><PRE
751CLASS="PROGRAMLISTING"
752>int xmlNanoHTTPSave (void *ctxt,
753 const char *filename);</PRE
754></TD
755></TR
756></TABLE
757><P
758>This function saves the output of the HTTP transaction to a file
759It closes and free the context at the end</P
760><P
761></P
762><DIV
763CLASS="INFORMALTABLE"
764><P
765></P
766><TABLE
767BORDER="0"
768WIDTH="100%"
769BGCOLOR="#FFD0D0"
770CELLSPACING="0"
771CELLPADDING="4"
772CLASS="CALSTABLE"
773><TR
774><TD
775WIDTH="20%"
776ALIGN="RIGHT"
777VALIGN="TOP"
778><TT
779CLASS="PARAMETER"
780><I
781>ctxt</I
782></TT
783>&nbsp;:</TD
784><TD
785WIDTH="80%"
786ALIGN="LEFT"
787VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000788>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000789></TR
790><TR
791><TD
792WIDTH="20%"
793ALIGN="RIGHT"
794VALIGN="TOP"
795><TT
796CLASS="PARAMETER"
797><I
798>filename</I
799></TT
800>&nbsp;:</TD
801><TD
802WIDTH="80%"
803ALIGN="LEFT"
804VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000805>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000806></TR
807><TR
808><TD
809WIDTH="20%"
810ALIGN="RIGHT"
811VALIGN="TOP"
812><I
813CLASS="EMPHASIS"
814>Returns</I
815> :</TD
816><TD
817WIDTH="80%"
818ALIGN="LEFT"
819VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000820>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000821></TR
822></TABLE
823><P
824></P
825></DIV
826></DIV
827><HR><DIV
828CLASS="REFSECT2"
829><A
Daniel Veillard71b656e2000-01-05 14:46:17 +0000830NAME="AEN8046"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000831></A
832><H3
833><A
834NAME="XMLNANOHTTPCLOSE"
835></A
836>xmlNanoHTTPClose ()</H3
837><TABLE
838BORDER="0"
839BGCOLOR="#D6E8FF"
840WIDTH="100%"
841CELLPADDING="6"
842><TR
843><TD
844><PRE
845CLASS="PROGRAMLISTING"
846>void xmlNanoHTTPClose (void *ctx);</PRE
847></TD
848></TR
849></TABLE
850><P
851>This function closes an HTTP context, it ends up the connection and
852free all data related to it.</P
853><P
854></P
855><DIV
856CLASS="INFORMALTABLE"
857><P
858></P
859><TABLE
860BORDER="0"
861WIDTH="100%"
862BGCOLOR="#FFD0D0"
863CELLSPACING="0"
864CELLPADDING="4"
865CLASS="CALSTABLE"
866><TR
867><TD
868WIDTH="20%"
869ALIGN="RIGHT"
870VALIGN="TOP"
871><TT
872CLASS="PARAMETER"
873><I
874>ctx</I
875></TT
876>&nbsp;:</TD
877><TD
878WIDTH="80%"
879ALIGN="LEFT"
880VALIGN="TOP"
Daniel Veillard71b656e2000-01-05 14:46:17 +0000881>&nbsp;</TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000882></TR
883></TABLE
884><P
885></P
886></DIV
887></DIV
888></DIV
889><DIV
890CLASS="NAVFOOTER"
891><BR
892CLEAR="all"><BR><TABLE
893WIDTH="100%"
894BORDER="0"
895BGCOLOR="#000000"
896CELLPADDING="1"
897CELLSPACING="0"
898><TR
899><TD
900WIDTH="25%"
901BGCOLOR="#C00000"
902ALIGN="left"
903><A
Daniel Veillard35008381999-10-25 13:15:52 +0000904HREF="gnome-xml-xpath.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000905><FONT
906COLOR="#FFFFFF"
907SIZE="3"
908><B
909>&#60;&#60;&#60; Previous Page</B
910></FONT
911></A
912></TD
913><TD
914WIDTH="25%"
915BGCOLOR="#0000C0"
916ALIGN="center"
917><FONT
918COLOR="#FFFFFF"
919SIZE="3"
920><B
921><A
922HREF="book1.html"
923><FONT
924COLOR="#FFFFFF"
925SIZE="3"
926><B
927>Home</B
928></FONT
929></A
930></B
931></FONT
932></TD
933><TD
934WIDTH="25%"
935BGCOLOR="#00C000"
936ALIGN="center"
937><FONT
938COLOR="#FFFFFF"
939SIZE="3"
940><B
941><A
Daniel Veillard35008381999-10-25 13:15:52 +0000942HREF="libxml-lib.html"
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000943><FONT
944COLOR="#FFFFFF"
945SIZE="3"
946><B
947>Up</B
948></FONT
949></A
950></B
951></FONT
952></TD
953><TD
954WIDTH="25%"
955BGCOLOR="#C00000"
956ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +0000957><A
Daniel Veillard294cbca1999-12-03 13:19:09 +0000958HREF="gnome-xml-xmlio.html"
Daniel Veillard35008381999-10-25 13:15:52 +0000959><FONT
960COLOR="#FFFFFF"
961SIZE="3"
962><B
963>Next Page &#62;&#62;&#62;</B
964></FONT
965></A
966></TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000967></TR
968><TR
969><TD
970COLSPAN="2"
971ALIGN="left"
972><FONT
973COLOR="#FFFFFF"
974SIZE="3"
975><B
Daniel Veillard35008381999-10-25 13:15:52 +0000976>xpath</B
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000977></FONT
978></TD
979><TD
980COLSPAN="2"
981ALIGN="right"
Daniel Veillard35008381999-10-25 13:15:52 +0000982><FONT
983COLOR="#FFFFFF"
984SIZE="3"
985><B
Daniel Veillard294cbca1999-12-03 13:19:09 +0000986>xmlIO</B
Daniel Veillard35008381999-10-25 13:15:52 +0000987></FONT
988></TD
Daniel Veillard7c1206f1999-10-14 09:10:25 +0000989></TR
990></TABLE
991></DIV
992></BODY
993></HTML
994>