Edit

kc3-lang/libxml2/nanohttp.h

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 2000-01-30 20:00:07
    Hash : e41f2b74
    Message : Released 1.8.6, Daniel.

  • nanohttp.h
  • /*
     * 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
    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);
    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__ */