Annotation of XML/nanohttp.h, revision 1.5

1.1       daniel      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@w3.org
                      7:  */
                      8:  
                      9: #ifndef __NANO_HTTP_H__
                     10: #define __NANO_HTTP_H__
                     11: int    xmlNanoHTTPFetch        (const char *URL,
1.5     ! daniel     12:                                 const char *filename,
        !            13:                                 char **contentType);
1.4       daniel     14: void * xmlNanoHTTPMethod       (const char *URL,
                     15:                                 const char *method,
                     16:                                 const char *input,
                     17:                                 char **contentType,
                     18:                                 const char *headers);
1.2       daniel     19: void * xmlNanoHTTPOpen         (const char *URL,
                     20:                                 char **contentType);
1.4       daniel     21: int    xmlNanoHTTPReturnCode   (void *ctx);
1.3       daniel     22: int    xmlNanoHTTPRead         (void *ctx,
                     23:                                 void *dest,
                     24:                                 int len);
1.4       daniel     25: int    xmlNanoHTTPSave         (void *ctxt,
                     26:                                 const char *filename);
1.2       daniel     27: void   xmlNanoHTTPClose        (void *ctx);
                     28: #endif /* __NANO_HTTP_H__ */

Webmaster