]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
remove ZBUFFER constants and increase max buffer size of server links
[ngircd-alex.git] / src / ngircd / defines.h
index 8feb5b86e21687c8144fa4d62742f4e7b6d73ede..b25ab1b5c1ea02eec64c85e0ebb8bda6c8514b35 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: defines.h,v 1.55 2005/07/08 16:18:39 alex Exp $
+ * $Id: defines.h,v 1.59 2007/05/09 08:55:14 fw Exp $
  */
 
 
 #define CHANNEL_NAME_LEN 51            /* Max. length of a channel name, see
                                           RFC 2812 section 1.3 */
 #define CHANNEL_MODE_LEN 9             /* Max. length of channel modes */
-#define CHANNEL_TOPIC_LEN 128          /* Max. length of a channel topic */
 
 #define COMMAND_LEN 513                        /* Max. IRC command length, see. RFC
                                           2812 section 3.2 */
 
-#define READBUFFER_LEN 2048            /* Size of the read buffer of a
+#define READBUFFER_LEN 4096            /* Size of the read buffer of a
                                           connection in bytes. */
 #define WRITEBUFFER_LEN 4096           /* Size of the write buffer of a
                                           connection in bytes. */
 
-#ifdef ZLIB
-#define ZREADBUFFER_LEN 1024           /* Size of the compressed read buffer
-                                          of a connection in bytes. */
-#define ZWRITEBUFFER_LEN 4096          /* Size of the compressed write buffer
-                                          of a connection in bytes. */
-#endif
-
 #define PROTOVER "0210"                        /* Implemented IRC protocol version,
                                           see RFC 2813 section 4.1.1. */
 #define PROTOIRC "-IRC"                        /* Protocol suffix, see RFC 2813
@@ -96,7 +88,7 @@
                                           in seconds. */
 
 #define USERMODES "aios"               /* Supported user modes. */
-#define CHANMODES "biklImnoPstv"       /* Supported channel modes. */
+#define CHANMODES "biIklmnoPstv"       /* Supported channel modes. */
 
 #define CONNECTED true                 /* Internal status codes. */
 #define DISCONNECTED false
 #define DEFAULT_AWAY_MSG "Away"                /* Away message for users connected to
                                           linked servers. */
 
+#define DEFAULT_TOPIC_ID "-Server-"    /* Default ID for "topic owner". */
+
 #define CONFIG_FILE "/ngircd.conf"     /* Configuration file name. */
 #define MOTD_FILE "/ngircd.motd"       /* Name of the MOTD file. */
 #define MOTD_PHRASE ""                 /* Default MOTD phrase string. */