Annotation of win32/gnome/gnome-xml/include/libxml/nanohttp.h, revision 1.1
1.1 ! paf 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.com
! 7: */
! 8:
! 9: #ifndef __NANO_HTTP_H__
! 10: #define __NANO_HTTP_H__
! 11:
! 12: #include <libxml/xmlversion.h>
! 13:
! 14: #ifdef LIBXML_HTTP_ENABLED
! 15:
! 16: #ifdef __cplusplus
! 17: extern "C" {
! 18: #endif
! 19: void xmlNanoHTTPInit (void);
! 20: void xmlNanoHTTPCleanup (void);
! 21: void xmlNanoHTTPScanProxy (const char *URL);
! 22: int xmlNanoHTTPFetch (const char *URL,
! 23: const char *filename,
! 24: char **contentType);
! 25: void * xmlNanoHTTPMethod (const char *URL,
! 26: const char *method,
! 27: const char *input,
! 28: char **contentType,
! 29: const char *headers,
! 30: int ilen);
! 31: void * xmlNanoHTTPMethodRedir (const char *URL,
! 32: const char *method,
! 33: const char *input,
! 34: char **contentType,
! 35: char **redir,
! 36: const char *headers,
! 37: int ilen);
! 38: void * xmlNanoHTTPOpen (const char *URL,
! 39: char **contentType);
! 40: void * xmlNanoHTTPOpenRedir (const char *URL,
! 41: char **contentType,
! 42: char **redir);
! 43: int xmlNanoHTTPReturnCode (void *ctx);
! 44: const char * xmlNanoHTTPAuthHeader(void *ctx);
! 45: int xmlNanoHTTPRead (void *ctx,
! 46: void *dest,
! 47: int len);
! 48: int xmlNanoHTTPSave (void *ctxt,
! 49: const char *filename);
! 50: void xmlNanoHTTPClose (void *ctx);
! 51: #ifdef __cplusplus
! 52: }
! 53:
! 54: #endif /* LIBXML_HTTP_ENABLED */
! 55: #endif
! 56: #endif /* __NANO_HTTP_H__ */
E-mail: