Annotation of XML/nanohttp.h, revision 1.7
1.1 daniel 1: /*
2: * nanohttp.c: minimalist HTTP implementation to fetch external subsets.
3: *
4: * See Copyright for the status of this software.
5: *
6: * Daniel.Veillard@w3.org
7: */
8:
9: #ifndef __NANO_HTTP_H__
10: #define __NANO_HTTP_H__
1.6 daniel 11: #ifdef __cplusplus
1.7 ! daniel 12: extern "C" {
1.6 daniel 13: #endif
1.1 daniel 14: int xmlNanoHTTPFetch (const char *URL,
1.5 daniel 15: const char *filename,
16: char **contentType);
1.4 daniel 17: void * xmlNanoHTTPMethod (const char *URL,
18: const char *method,
19: const char *input,
20: char **contentType,
21: const char *headers);
1.2 daniel 22: void * xmlNanoHTTPOpen (const char *URL,
23: char **contentType);
1.4 daniel 24: int xmlNanoHTTPReturnCode (void *ctx);
1.3 daniel 25: int xmlNanoHTTPRead (void *ctx,
26: void *dest,
27: int len);
1.4 daniel 28: int xmlNanoHTTPSave (void *ctxt,
29: const char *filename);
1.2 daniel 30: void xmlNanoHTTPClose (void *ctx);
1.6 daniel 31: #ifdef __cplusplus
32: }
33: #endif
1.2 daniel 34: #endif /* __NANO_HTTP_H__ */
Webmaster