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