mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-19 09:57:23 +03:00
- nanohttp.[ch]: applied Wayne Davison patches to access the WWW-Authorization header. - parser.c: Closed Bug#30847: Problems when switching encoding in short files by applying Simon Berg's patch. - valid.c: fixed a validation problem - hash.c parser.h parserInternals.h testHTML.c testSAX.c tree.h xmlerror.h xmlmemory.h xmlversion.h.in: applied a DLL patch from Wayne Davison - xpointer.[ch]: added first version of xmlXPtrBuildNodeList() need to be extended to non full nodes selections. - xinclude.c: starts to work decently Daniel
45 lines
1.0 KiB
C
45 lines
1.0 KiB
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__
|
|
|
|
#include <libxml/xmlversion.h>
|
|
#ifdef LIBXML_HTTP_ENABLED
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void xmlNanoHTTPInit (void);
|
|
void xmlNanoHTTPCleanup (void);
|
|
void xmlNanoHTTPScanProxy (const char *URL);
|
|
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);
|
|
const char * xmlNanoHTTPAuthHeader(void *ctx);
|
|
int xmlNanoHTTPRead (void *ctx,
|
|
void *dest,
|
|
int len);
|
|
int xmlNanoHTTPSave (void *ctxt,
|
|
const char *filename);
|
|
void xmlNanoHTTPClose (void *ctx);
|
|
#ifdef __cplusplus
|
|
}
|
|
|
|
#endif /* LIBXML_HTTP_ENABLED */
|
|
#endif
|
|
#endif /* __NANO_HTTP_H__ */
|