Difference for include/newclient.h from version 1.13 to 1.14


version 1.13 version 1.14
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_newclient_h =   * static char *rcsid_newclient_h =
  *   "$Id: newclient.h,v 1.13 2006/05/18 05:27:44 mwedel Exp $";   *   "$Id: newclient.h,v 1.14 2006/05/21 10:35:10 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 48
 
Line 48
 #ifndef NEWCLIENT_H  #ifndef NEWCLIENT_H
 #define NEWCLIENT_H  #define NEWCLIENT_H
   
 /* Maximum size of any packet we expect.  Using this makes it so we don't need to  /* Maximum size of any packet we expect. This number includes both the length
  * allocated and deallocated teh same buffer over and over again and the price   * bytes (2 bytes) at the start of each packet and the trailing '\0' (1 byte)
  * of using a bit of extra memory.  IT also makes the code simpler.   * at the end of each packet.
  */   */
 #define MAXSOCKBUF 10240  #define MAXSOCKRECVBUF (2+65535+1)
   
   /* Maximum size of any packet we send. This number does not include the length
    * bytes at the start of each packet. The value is chosen to not overflow the
    * input buffer of old clients (2006-05-21).
    */
   #define MAXSOCKSENDBUF 10239
   
   
 #define CS_QUERY_YESNO 0x1 /* Yes/no question */  #define CS_QUERY_YESNO 0x1 /* Yes/no question */


Legend:
line(s) removed in v.1.13 
line(s) changed
 line(s) added in v.1.14

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:25