1 * Summary: minimal HTTP implementation
2 * Description: minimal HTTP implementation allowing to fetch resources
3 * like external subset.
5 * Copy: See Copyright for the status of this software.
7 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
9 /if not defined(NANO_HTTP_H__)
12 /include "libxmlrpg/xmlversion"
14 /if defined(LIBXML_HTTP_ENABLED)
16 /include "libxmlrpg/xmlTypesC"
19 d pr extproc('xmlNanoHTTPInit')
21 d xmlNanoHTTPCleanup...
22 d pr extproc('xmlNanoHTTPCleanup')
24 d xmlNanoHTTPScanProxy...
25 d pr extproc('xmlNanoHTTPScanProxy')
26 d URL * value options(*string) const char *
29 d pr extproc('xmlNanoHTTPFetch')
31 d URL * value options(*string) const char *
32 d filename * value options(*string) const char *
34 d xmlNanoHTTPMethod...
35 d pr * extproc('xmlNanoHTTPMethod') void *
36 d URL * value options(*string) const char *
37 d method * value options(*string) const char *
38 d input * value options(*string) const char *
39 d contentType * value char * *
40 d headers * value options(*string) const char *
41 d ilen value like(xmlCint)
43 d xmlNanoHTTPMethodRedir...
44 d pr * extproc('xmlNanoHTTPMethodRedir') void *
45 d URL * value options(*string) const char *
46 d method * value options(*string) const char *
47 d input * value options(*string) const char *
48 d contentType * value char * *
49 d redir * value char * *
50 d headers * value options(*string) const char *
51 d ilen value like(xmlCint)
54 d pr * extproc('xmlNanoHTTPOpen') void *
55 d URL * value options(*string) const char *
56 d contentType * char *(*)
58 d xmlNanoHTTPOpenRedir...
59 d pr * extproc('xmlNanoHTTPOpenRedir') void *
60 d URL * value options(*string) const char *
61 d contentType * value char * *
62 d redir * value char * *
64 d xmlNanoHTTPReturnCode...
65 d pr extproc('xmlNanoHTTPReturnCode')
69 d xmlNanoHTTPAuthHeader...
70 d pr * extproc('xmlNanoHTTPAuthHeader') const char *
74 d pr * extproc('xmlNanoHTTPRedir') const char *
77 d xmlNanoHTTPContentLength...
78 d pr extproc('xmlNanoHTTPContentLength')
82 d xmlNanoHTTPEncoding...
83 d pr * extproc('xmlNanoHTTPEncoding') const char *
86 d xmlNanoHTTPMimeType...
87 d pr * extproc('xmlNanoHTTPMimeType') const char *
91 d pr extproc('xmlNanoHTTPRead')
95 d len value like(xmlCint)
97 /if defined(LIBXML_OUTPUT_ENABLED)
99 d pr extproc('xmlNanoHTTPSave')
101 d ctxt * value void *
102 d filename * value options(*string) const char *
103 /endif LIBXML_OUTPUT_ENABLD
105 d xmlNanoHTTPClose...
106 d pr extproc('xmlNanoHTTPClose')
109 /endif LIBXML_HTTP_ENABLED