VirtualBox

source: vbox/trunk/src/libs/libxml2-2.13.2/include/libxml/nanohttp.h@ 107412

Last change on this file since 107412 was 105420, checked in by vboxsync, 10 months ago

libxml2-2.12.6: Applied and adjusted our libxml2 changes to 2.12.6. bugref:10730

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1/*
2 * Summary: minimal HTTP implementation
3 * Description: minimal HTTP implementation allowing to fetch resources
4 * like external subset.
5 *
6 * Copy: See Copyright for the status of this software.
7 *
8 * Author: Daniel Veillard
9 */
10
11#ifndef __NANO_HTTP_H__
12#define __NANO_HTTP_H__
13
14#include <libxml/xmlversion.h>
15
16#ifdef LIBXML_HTTP_ENABLED
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21XML_DEPRECATED
22XMLPUBFUN void
23 xmlNanoHTTPInit (void);
24XML_DEPRECATED
25XMLPUBFUN void
26 xmlNanoHTTPCleanup (void);
27XML_DEPRECATED
28XMLPUBFUN void
29 xmlNanoHTTPScanProxy (const char *URL);
30XML_DEPRECATED
31XMLPUBFUN int
32 xmlNanoHTTPFetch (const char *URL,
33 const char *filename,
34 char **contentType);
35XML_DEPRECATED
36XMLPUBFUN void *
37 xmlNanoHTTPMethod (const char *URL,
38 const char *method,
39 const char *input,
40 char **contentType,
41 const char *headers,
42 int ilen);
43XML_DEPRECATED
44XMLPUBFUN void *
45 xmlNanoHTTPMethodRedir (const char *URL,
46 const char *method,
47 const char *input,
48 char **contentType,
49 char **redir,
50 const char *headers,
51 int ilen);
52XML_DEPRECATED
53XMLPUBFUN void *
54 xmlNanoHTTPOpen (const char *URL,
55 char **contentType);
56XML_DEPRECATED
57XMLPUBFUN void *
58 xmlNanoHTTPOpenRedir (const char *URL,
59 char **contentType,
60 char **redir);
61XML_DEPRECATED
62XMLPUBFUN int
63 xmlNanoHTTPReturnCode (void *ctx);
64XML_DEPRECATED
65XMLPUBFUN const char *
66 xmlNanoHTTPAuthHeader (void *ctx);
67XML_DEPRECATED
68XMLPUBFUN const char *
69 xmlNanoHTTPRedir (void *ctx);
70XML_DEPRECATED
71XMLPUBFUN int
72 xmlNanoHTTPContentLength( void * ctx );
73XML_DEPRECATED
74XMLPUBFUN const char *
75 xmlNanoHTTPEncoding (void *ctx);
76XML_DEPRECATED
77XMLPUBFUN const char *
78 xmlNanoHTTPMimeType (void *ctx);
79XML_DEPRECATED
80XMLPUBFUN int
81 xmlNanoHTTPRead (void *ctx,
82 void *dest,
83 int len);
84#ifdef LIBXML_OUTPUT_ENABLED
85XML_DEPRECATED
86XMLPUBFUN int
87 xmlNanoHTTPSave (void *ctxt,
88 const char *filename);
89#endif /* LIBXML_OUTPUT_ENABLED */
90XML_DEPRECATED
91XMLPUBFUN void
92 xmlNanoHTTPClose (void *ctx);
93#ifdef __cplusplus
94}
95#endif
96
97#endif /* LIBXML_HTTP_ENABLED */
98#endif /* __NANO_HTTP_H__ */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette