diff options
| author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-07-19 14:08:30 +0000 |
|---|---|---|
| committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-07-19 14:08:30 +0000 |
| commit | a1479a87757fb5e9b48f3c8bb5dd9cc247406f1a (patch) | |
| tree | 06d23a51082a398c512ed8f1e39bdac60d4dd658 /include/config.h | |
| parent | 7fffea77edbe72cd66f7a55f41a3966204f9cf86 (diff) | |
BUILD : 1.7.4 (264) BUGS : N/A NOTES : Switched to autoconf - try to commit part 1
git-svn-id: svn://svn.anope.org/anope/trunk@264 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@169 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/config.h')
| -rw-r--r-- | include/config.h | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h new file mode 100644 index 000000000..c260b72af --- /dev/null +++ b/include/config.h @@ -0,0 +1,81 @@ +/* Services configuration. + * + * (C) 2003 Anope Team + * Contact us at info@anope.org + * + * Please read COPYING and README for furhter details. + * + * Based on the original code of Epona by Lara. + * Based on the original code of Services by Andy Church. + * + * $Id$ + * + */ + +#ifndef CONFIG_H +#define CONFIG_H + +/* Note that most of the options which used to be here have been moved to + * services.conf. */ + +/*************************************************************************/ + +/******* General configuration *******/ + +/* Name of configuration file (in Services directory) */ +#define SERVICES_CONF "services.conf" + +/* Name of log file (in Services directory) */ +#define LOG_FILENAME "services.log" + +/* Maximum amount of data from/to the network to buffer (bytes). */ +#define NET_BUFSIZE 65536 + +/******* OperServ configuration *******/ + +/* How big a hostname list do we keep for clone detection? On large nets + * (over 500 simultaneous users or so), you may want to increase this if + * you want a good chance of catching clones. */ +#define CLONE_DETECT_SIZE 16 + +/* Define this to enable OperServ's svs commands (superadmin only). */ + #define USE_OSSVS + +/* Define this to enable OperServ's debugging commands (Services root + * only). These commands are undocumented; "use the source, Luke!" */ +/* #define DEBUG_COMMANDS */ + +/******************* END OF USER-CONFIGURABLE SECTION ********************/ + +/* Size of input buffer (note: this is different from BUFSIZ) + * This must be big enough to hold at least one full IRC message, or messy + * things will happen. */ +#define BUFSIZE 1024 + +/* Extra warning: If you change CHANMAX, your ChanServ database will be + * unusable. + */ + +/* Maximum length of a channel name, including the trailing null. Any + * channels with a length longer than (CHANMAX-1) including the leading # + * will not be usable with ChanServ. */ +#define CHANMAX 64 + +/* Maximum length of a nickname, including the trailing null. This MUST be + * at least one greater than the maximum allowable nickname length on your + * network, or people will run into problems using Services! The default + * (32) works with all servers I know of. */ +#define NICKMAX 32 + +/* Maximum length of a password */ +#define PASSMAX 32 + +/* Maximum length of a username */ +#define USERMAX 10 + +/* Maximum length of a domain */ +#define HOSTMAX 64 + +/**************************************************************************/ + +#endif /* CONFIG_H */ |
