Daniel Veillard | 4ecf39f | 1999-09-22 12:14:03 +0000 | [diff] [blame] | 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__ |
| 11 | int xmlNanoHTTPFetch (const char *URL, |
| 12 | const char *filename); |
| 13 | void * xmlNanoHTTPMethod (const char *URL, |
| 14 | const char *method, |
| 15 | const char *input, |
| 16 | char **contentType, |
| 17 | const char *headers); |
| 18 | void * xmlNanoHTTPOpen (const char *URL, |
| 19 | char **contentType); |
| 20 | int xmlNanoHTTPReturnCode (void *ctx); |
| 21 | int xmlNanoHTTPRead (void *ctx, |
| 22 | void *dest, |
| 23 | int len); |
| 24 | int xmlNanoHTTPSave (void *ctxt, |
| 25 | const char *filename); |
| 26 | void xmlNanoHTTPClose (void *ctx); |
| 27 | #endif /* __NANO_HTTP_H__ */ |