config.h

Go to the documentation of this file.
00001 /* Services configuration.
00002  *
00003  * (C) 2003-2007 Anope Team
00004  * Contact us at info@anope.org
00005  *
00006  * Please read COPYING and README for furhter details.
00007  *
00008  * Based on the original code of Epona by Lara.
00009  * Based on the original code of Services by Andy Church. 
00010  * 
00011  * $Id: config.h 1265 2007-08-26 15:33:06Z geniusdex $ 
00012  *
00013  */
00014 
00015 #ifndef CONFIG_H
00016 #define CONFIG_H
00017 
00018 /* Note that most of the options which used to be here have been moved to
00019  * services.conf. */
00020 
00021 /*************************************************************************/
00022 
00023 /******* General configuration *******/
00024 
00025 /* Name of configuration file (in Services directory) */
00026 #define SERVICES_CONF   "services.conf"
00027 
00028 /* Name of log file (in Services directory) */
00029 #define LOG_FILENAME    "services.log"
00030 
00031 /* Maximum amount of data from/to the network to buffer (bytes). */
00032 #define NET_BUFSIZE 65536
00033 
00034 /******* OperServ configuration *******/
00035 
00036 /* Define this to enable OperServ's svs commands (superadmin only). */
00037  #define USE_OSSVS 
00038 
00039 /* Define this to enable OperServ's debugging commands (Services root
00040  * only).  These commands are undocumented; "use the source, Luke!" */
00041 /* #define DEBUG_COMMANDS */
00042 
00043 /******************* END OF USER-CONFIGURABLE SECTION ********************/
00044 
00045 /* Size of input buffer (note: this is different from BUFSIZ)
00046  * This must be big enough to hold at least one full IRC message, or messy
00047  * things will happen. */
00048 #define BUFSIZE     1024
00049 
00050 /* Extra warning:  If you change CHANMAX, your ChanServ database will be
00051  * unusable. 
00052  */
00053 
00054 /* Maximum length of a channel name, including the trailing null.  Any
00055  * channels with a length longer than (CHANMAX-1) including the leading #
00056  * will not be usable with ChanServ. */
00057 #define CHANMAX     64
00058 
00059 /* Maximum length of a nickname, including the trailing null.  This MUST be
00060  * at least one greater than the maximum allowable nickname length on your
00061  * network, or people will run into problems using Services!  The default
00062  * (32) works with all servers I know of. */
00063 #define NICKMAX     32
00064 
00065 /* Maximum length of a password */
00066 #define PASSMAX     32
00067 
00068 /* Maximum length of a username */
00069 #define USERMAX     10
00070 
00071 /* Maximum length of a domain */
00072 #define HOSTMAX     64
00073 
00074 /**************************************************************************/
00075 
00076 #endif  /* CONFIG_H */

Generated on Sun Dec 30 09:26:45 2007 for Anope by  doxygen 1.5.1-20070107