]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
Only require server prefixes on non RFC1459 links
[ngircd-alex.git] / src / ngircd / defines.h
index 3f1122ca2fcaba6c93f502667a8ea0f5ffc73699..688f2d3aed209294817ffe11fc9aa79d9ea24f85 100644 (file)
@@ -9,7 +9,6 @@
  * Please read the file COPYING, README and AUTHORS for more information.
  */
 
-
 #ifndef __defines_h__
 #define __defines_h__
 
 
 #define READBUFFER_LEN 2048            /* Size of the read buffer of a
                                           connection in bytes. */
-#define WRITEBUFFER_LEN 4096           /* Size of the write buffer of a
+#define WRITEBUFFER_FLUSH_LEN 4096     /* Size of a write buffer that triggers
+                                          buffer flushing if more space is
+                                          needed for storing data. */
+#define WRITEBUFFER_MAX_LEN 32768      /* Maximum size of the write buffer of a
                                           connection in bytes. */
-#define WRITEBUFFER_SLINK_LEN 51200    /* Size of the write buffer of a
+#define WRITEBUFFER_SLINK_LEN 65536    /* Maximum size of the write buffer of a
                                           server link connection in bytes. */
 
 #define PROTOVER "0210"                        /* Implemented IRC protocol version,
 
 #endif
 
-
 /* -eof- */