]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
Move "ClientHost" and "ClientUserNick" to end of [Global] section
[ngircd-alex.git] / src / ngircd / defines.h
index ff456a34fc542648efe5531229501d56eac29f20..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,
@@ -81,7 +83,7 @@
                                           in seconds. */
 
 #define USERMODES "aciorswx"           /* Supported user modes. */
-#define CHANMODES "biIklmnoPstvz"      /* Supported channel modes. */
+#define CHANMODES "biIklmnoOPstvz"     /* Supported channel modes. */
 
 #define CONNECTED true                 /* Internal status codes. */
 #define DISCONNECTED false
 
 #endif
 
-
 /* -eof- */