Anope IRC Services  Version 1.8
config.h
Go to the documentation of this file.
1 /* Services configuration.
2  *
3  * (C) 2003-2014 Anope Team
4  * Contact us at team@anope.org
5  *
6  * Please read COPYING and README for further details.
7  *
8  * Based on the original code of Epona by Lara.
9  * Based on the original code of Services by Andy Church.
10  *
11  *
12  */
13 
14 #ifndef CONFIG_H
15 #define CONFIG_H
16 
17 /* Note that most of the options which used to be here have been moved to
18  * services.conf. */
19 
20 /*************************************************************************/
21 
22 /******* General configuration *******/
23 
24 /* Name of configuration file (in Services directory) */
25 #define SERVICES_CONF "services.conf"
26 
27 /* Name of log file (in Services directory) */
28 #define LOG_FILENAME "services.log"
29 
30 /* Maximum amount of data from/to the network to buffer (bytes). */
31 #define NET_BUFSIZE 65536
32 
33 /******* OperServ configuration *******/
34 
35 /* Define this to enable OperServ's svs commands (superadmin only). */
36  #define USE_OSSVS
37 
38 /* Define this to enable OperServ's debugging commands (Services root
39  * only). These commands are undocumented; "use the source, Luke!" */
40 /* #define DEBUG_COMMANDS */
41 
42 /******************* END OF USER-CONFIGURABLE SECTION ********************/
43 
44 /* Size of input buffer (note: this is different from BUFSIZ)
45  * This must be big enough to hold at least one full IRC message, or messy
46  * things will happen. */
47 #define BUFSIZE 1024
48 
49 /* Extra warning: If you change CHANMAX, your ChanServ database will be
50  * unusable.
51  */
52 
53 /* Maximum length of a channel name, including the trailing null. Any
54  * channels with a length longer than (CHANMAX-1) including the leading #
55  * will not be usable with ChanServ. */
56 #define CHANMAX 64
57 
58 /* Maximum length of a nickname, including the trailing null. This MUST be
59  * at least one greater than the maximum allowable nickname length on your
60  * network, or people will run into problems using Services! The default
61  * (32) works with all servers I know of. */
62 #define NICKMAX 32
63 
64 /* Maximum length of a password */
65 #define PASSMAX 32
66 
67 /* Maximum length of a username */
68 #define USERMAX 10
69 
70 /* Maximum length of a domain */
71 #define HOSTMAX 64
72 
73 /**************************************************************************/
74 
75 #endif /* CONFIG_H */