Diff for /Amaya/amaya/query.c between versions 1.292 and 1.293

version 1.292, 2002/03/27 14:47:16 version 1.293, 2002/04/02 13:42:59
Line 23 Line 23
 #define AMAYA_WWW_CACHE  #define AMAYA_WWW_CACHE
 #define AMAYA_LOST_UPDATE  #define AMAYA_LOST_UPDATE
   
 #ifdef _WINDOWS  
 #define CACHE_DIR_NAME "\\libwww-cache\\"  
 #else  
 #define CACHE_DIR_NAME "/libwww-cache/"  
 #endif  
   
 /* libwww default parameters */  
 #define DEFAULT_CACHE_SIZE 10  
 #define DEFAULT_MAX_CACHE_ENTRY_SIZE 3  
 #define DEFAULT_MAX_SOCKET 32  
 #define DEFAULT_DNS_TIMEOUT 1800L  
 #define DEFAULT_PERSIST_TIMEOUT 60L  
 #define DEFAULT_NET_EVENT_TIMEOUT 60000  
 /* defines the priority for image content negotiation */  
 #define IMAGE_ACCEPT_NEGOTIATION "*/*;q=0.1,image/*,image/gif,image/jpeg,image/png,image/svg+xml,application/svg+xml"  
   
 /* Amaya includes  */  /* Amaya includes  */
 #define THOT_EXPORT extern  #define THOT_EXPORT extern
 #include "amaya.h"  #include "amaya.h"
Line 84  struct _HTError Line 68  struct _HTError
 /* Type definitions and global variables etc. local to this module */  /* Type definitions and global variables etc. local to this module */
   
 /*----------------------------------------------------------------------*/  /*----------------------------------------------------------------------*/
   
   /* libwww default parameters */
   #ifdef _WINDOWS
   #define CACHE_DIR_NAME "\\libwww-cache\\"
   #else
   #define CACHE_DIR_NAME "/libwww-cache/"
   #endif
   
   #define DEFAULT_CACHE_SIZE 10
   #define DEFAULT_MAX_CACHE_ENTRY_SIZE 3
   #define DEFAULT_MAX_SOCKET 32
   #define DEFAULT_DNS_TIMEOUT 1800L
   #define DEFAULT_PERSIST_TIMEOUT 60L
   #define DEFAULT_NET_EVENT_TIMEOUT 60000
   /* defines the priority for image content negotiation */
   #define IMAGE_ACCEPT_NEGOTIATION "*/*;q=0.1,image/*,image/gif,image/jpeg,image/png,image/svg+xml,"AM_SVG_MIME_TYPE
   
 /*** private variables ***/  /*** private variables ***/
   
 static HTList      *converters = NULL;  /* List of global converters */  static HTList      *converters = NULL;  /* List of global converters */
Line 1483  static void           AHTAcceptTypesInit Line 1484  static void           AHTAcceptTypesInit
    /* Register additional bindings */     /* Register additional bindings */
    HTBind_add("htm", "text/html",  NULL, "8bit", NULL, 1.0);     HTBind_add("htm", "text/html",  NULL, "8bit", NULL, 1.0);
    HTBind_add("tgz", "application/gnutar",  NULL, "binary", NULL, 1.0);     HTBind_add("tgz", "application/gnutar",  NULL, "binary", NULL, 1.0);
    HTBind_add("mml", "application/mathml+xml",  NULL, "8bit", NULL, 1.0);     HTBind_add("mml", AM_MATHML_MIME_TYPE,  NULL, "8bit", NULL, 1.0);
    HTBind_add("svg", "application/svg+xml",  NULL, "8bit", NULL, 1.0);     HTBind_add("svg", AM_SVG_MIME_TYPE,  NULL, "8bit", NULL, 1.0);
    HTBind_add("xsl", "text/xml",  NULL, "8bit", NULL, 1.0);     HTBind_add("xsl", "text/xml",  NULL, "8bit", NULL, 1.0);
    /* Don't do any case distinction */     /* Don't do any case distinction */
    HTBind_caseSensitive (FALSE);     HTBind_caseSensitive (FALSE);

Removed from v.1.292  
changed lines
  Added in v.1.293


Webmaster