]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/defines.h
Code cleanup: mostly removing empty lines
[ngircd.git] / src / ngircd / defines.h
index 01b60373bbc044153e8c742eab470a7a188318ae..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
 #define CUT_TXTSUFFIX "[CUT]"          /* Suffix for oversized messages that
                                           have been shortened and cut off. */
 
-#ifdef ZEROCONF
-#define MDNS_TYPE "_ircu._tcp."                /* Service type to register with mDNS */
 #endif
 
-
-#endif
-
-
 /* -eof- */