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