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)
17 d pr extproc('xmlNanoHTTPInit')
19 d xmlNanoHTTPCleanup...
20 d pr extproc('xmlNanoHTTPCleanup')
22 d xmlNanoHTTPScanProxy...
23 d pr extproc('xmlNanoHTTPScanProxy')
24 d URL * value options(*string) const char *
27 d pr 10i 0 extproc('xmlNanoHTTPFetch')
28 d URL * value options(*string) const char *
29 d filename * value options(*string) const char *
31 d xmlNanoHTTPMethod...
32 d pr * extproc('xmlNanoHTTPMethod') void *
33 d URL * value options(*string) const char *
34 d method * value options(*string) const char *
35 d input * value options(*string) const char *
36 d contentType * value char * *
37 d headers * value options(*string) const char *
40 d xmlNanoHTTPMethodRedir...
41 d pr * extproc('xmlNanoHTTPMethodRedir') void *
42 d URL * value options(*string) const char *
43 d method * value options(*string) const char *
44 d input * value options(*string) const char *
45 d contentType * value char * *
46 d redir * value char * *
47 d headers * value options(*string) const char *
51 d pr * extproc('xmlNanoHTTPOpen') void *
52 d URL * value options(*string) const char *
53 d contentType * char *(*)
55 d xmlNanoHTTPOpenRedir...
56 d pr * extproc('xmlNanoHTTPOpenRedir') void *
57 d URL * value options(*string) const char *
58 d contentType * value char * *
59 d redir * value char * *
61 d xmlNanoHTTPReturnCode...
62 d pr 10i 0 extproc('xmlNanoHTTPReturnCode')
65 d xmlNanoHTTPAuthHeader...
66 d pr * extproc('xmlNanoHTTPAuthHeader') const char *
70 d pr * extproc('xmlNanoHTTPRedir') const char *
73 d xmlNanoHTTPContentLength...
74 d pr 10i 0 extproc('xmlNanoHTTPContentLength')
77 d xmlNanoHTTPEncoding...
78 d pr * extproc('xmlNanoHTTPEncoding') const char *
81 d xmlNanoHTTPMimeType...
82 d pr * extproc('xmlNanoHTTPMimeType') const char *
86 d pr 10i 0 extproc('xmlNanoHTTPRead')
91 /if defined(LIBXML_OUTPUT_ENABLED)
93 d pr 10i 0 extproc('xmlNanoHTTPSave')
95 d filename * value options(*string) const char *
96 /endif LIBXML_OUTPUT_ENABLD
99 d pr extproc('xmlNanoHTTPClose')
102 /endif LIBXML_HTTP_ENABLED