1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-14 19:24:06 +03:00
libxml2/nanohttp.h
Daniel Veillard 5cb5ab8d94 - release 1.8.2 - HTML handling improvement - new tree handling functions
- release 1.8.2
- HTML handling improvement
- new tree handling functions
- default namespace on attribute bug fixed
- libxml use for C++ fixed (for good this time !)
Daniel
1999-12-21 15:35:29 +00:00

35 lines
813 B
C

/*
* nanohttp.c: minimalist HTTP implementation to fetch external subsets.
*
* See Copyright for the status of this software.
*
* Daniel.Veillard@w3.org
*/
#ifndef __NANO_HTTP_H__
#define __NANO_HTTP_H__
#ifdef __cplusplus
extern "C" {
#endif
int xmlNanoHTTPFetch (const char *URL,
const char *filename,
char **contentType);
void * xmlNanoHTTPMethod (const char *URL,
const char *method,
const char *input,
char **contentType,
const char *headers);
void * xmlNanoHTTPOpen (const char *URL,
char **contentType);
int xmlNanoHTTPReturnCode (void *ctx);
int xmlNanoHTTPRead (void *ctx,
void *dest,
int len);
int xmlNanoHTTPSave (void *ctxt,
const char *filename);
void xmlNanoHTTPClose (void *ctx);
#ifdef __cplusplus
}
#endif
#endif /* __NANO_HTTP_H__ */