Diff for /XML/nanohttp.c between versions 1.7 and 1.8

version 1.7, 1999/09/30 15:43:35 version 1.8, 1999/10/08 09:35:41
Line 53 Line 53
 #endif  #endif
   
 #include "xmlmemory.h"  #include "xmlmemory.h"
   #include "nanohttp.h"
   
 #ifdef STANDALONE  #ifdef STANDALONE
 #define DEBUG_HTTP  #define DEBUG_HTTP
Line 731  xmlNanoHTTPClose(void *ctx) { Line 732  xmlNanoHTTPClose(void *ctx) {
     xmlNanoHTTPFreeCtxt(ctxt);      xmlNanoHTTPFreeCtxt(ctxt);
 }  }
   
   #ifndef DEBUG_HTTP
   #define DEBUG_HTTP
   #endif
 /**  /**
  * xmlNanoHTTPMethod:   * xmlNanoHTTPMethod:
  * @URL:  The URL to load   * @URL:  The URL to load
Line 747  xmlNanoHTTPClose(void *ctx) { Line 751  xmlNanoHTTPClose(void *ctx) {
  *     The contentType, if provided must be freed by the caller   *     The contentType, if provided must be freed by the caller
  */   */
   
 #ifndef DEBUG_HTTP  
 #define DEBUG_HTTP  
 #endif  
 void *  void *
 xmlNanoHTTPMethod(const char *URL, const char *method, const char *input,  xmlNanoHTTPMethod(const char *URL, const char *method, const char *input,
                   char **contentType, const char *headers) {                    char **contentType, const char *headers) {
Line 1000  xmlNanoHTTPFetch(const char *URL, const Line 1001  xmlNanoHTTPFetch(const char *URL, const
   
 /**  /**
  * xmlNanoHTTPSave:   * xmlNanoHTTPSave:
  * @ctx:  the HTTP context   * @ctxt:  the HTTP context
  * @filename:  the filename where the content should be saved   * @filename:  the filename where the content should be saved
  *   *
  * This function saves the output of the HTTP transaction to a file   * This function saves the output of the HTTP transaction to a file

Removed from v.1.7  
changed lines
  Added in v.1.8


Webmaster