Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

options.h.in

00001 /* $Id: options.h.in,v 1.1.1.1 2003/07/04 02:55:55 Mysid Exp $ */
00002 
00003 /*
00004  * Copyright (c) 1996-1997 Chip Norkus
00005  * Copyright (c) 1997 Max Byrd
00006  * Copyright (c) 1997 Greg Poma
00007  * Copyright (c) 1999 Dafydd James
00008  * Copyright (c) 2001 James Hess
00009  * Copyright (c) 2001 Portions copyright, see credits.c
00010  * All rights reserved.
00011  *
00012  * Redistribution and use in source and binary forms, with or without
00013  * modification, are permitted provided that the following conditions
00014  * are met:
00015  * 1. Redistributions of source code must retain the above copyright
00016  *    notice, this list of conditions and the following disclaimer.
00017  * 2. Redistributions in binary form must reproduce the above copyright
00018  *    notice, this list of conditions and the following disclaimer in the
00019  *    documentation and/or other materials provided with the distribution.
00020  * 3. Neither the name of the authors nor the names of its contributors
00021  *    may be used to endorse or promote products derived from this software
00022  *    without specific prior written permission.
00023  *
00024  * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
00025  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00026  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00027  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
00028  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00029  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
00030  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00031  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00032  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00033  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00034  * SUCH DAMAGE.
00035  */
00036 
00037 #ifndef __OPTIONS_H
00038 #define __OPTIONS_H
00039 
00040 #ifndef CFGPATH
00041 #define CFGPATH "."  /* The default path for services data */
00042 #endif
00043 
00044 #ifndef HELP_PATH
00045 #define HELP_PATH "./help/" /* The default path for services helpfiles */
00046 #endif
00047 
00048 //#define ENABLE_GRPOPS /* GRPops - enable getrealpass ops [atm?] */
00049 
00050 /* This is where email will be sent when akills/ignores are placed. */
00051 /* #define AKILLMAILTO "kline@sorcery.net" */
00052 
00053 #ifndef SENDMAIL
00054 /*
00055  *   Default sendmail command.... leave the -t in. :)
00056  */ 
00057 #define SENDMAIL "/usr/sbin/sendmail -t"
00058 #endif
00059 
00060 /*
00061  * Maximum lengths, including null
00062  */
00063 #define NICKLEN  18 
00064 #define USERLEN  11 
00065 #define HOSTLEN  64 
00066 #define CHANLEN  33 
00067 #define MEMOLEN 350 
00068 #define URLLEN   91 
00069 #define IRCBUF  513 
00070 #define HELPTOPICBUF 25 
00071 #define MAXBUF  1025    
00072 #define EMAILLEN (HOSTLEN+25) 
00073 #define PASSLEN  15 
00074 #define AKREASON_LEN 255 
00075 
00076 
00079 /* #define NETWORK "sorcery.net" */
00080 
00084 #define PLUSLCHAN "#sorcery"
00085 
00089 #define DEF_NDELAY 60
00090 
00095 #define NICKWARNINT 30
00096 
00097 
00104 #define WELCOME_NOTE \
00105     ( \
00106         "Hi, welcome to " NETWORK "! You might want to " \
00107         "look at registering your nick while you're here - " \
00108         " just type \"/msg NickServ HELP\" for more information. " \
00109         "Also, make sure to read the disclaimer which comes next - " \
00110         "it's not very friendly but it's legally required. " \
00111         " Enjoy your stay!" \
00112     )
00113 
00115 #define DISCLAIMER \
00116     (   "NOTICE: This is a privately owned and operated IRC " \
00117         "network.  It is accessible to the public, but we reserve " \
00118         "the right to deny use of services or connection for any " \
00119         "reason we see fit at any time." \
00120     )
00121 
00125 #define REGLIMITYELL
00126 
00130 #undef GLOBOPS_TIMED_MSGS
00131 
00135 #undef GLOBOP_ON_SYNC
00136 
00140 #undef GLOBOP_ON_SAVE
00141 
00145 #undef FORK_EM
00146 
00150 #define XORPASS
00151 
00155 #undef ALLOW_GHOST_YOURSELF
00156 
00164 #define DEFCLONEFLAGS 0
00165 
00173 #define MS_DEF_RCV_MAX 50
00174 #define MS_RCV_MAX_HIGHEST 200
00175 #define MS_SENT_MAX 8
00176 #define MS_MAX_MBLOCK 3
00177 
00178 /*
00179  * Some important NickServ limits
00180  */
00181 #define ENF_MINDELAY 10     /* min nick ID time */
00182 #define ENF_MAXDELAY 120    /* max nick ID time */
00183 
00184 /*
00185  * this is a nice one, gives some allocation stats and such 
00186  */
00187 #define ALLOCSTAT
00188 #define MAXFLOODLEVEL 100
00189 #define NICKDROPTIME (25*24*3600)
00190 #define CHANDROPTIME (15*24*3600)
00191 #define MEMODROPTIME (10*24*3600)
00192 #define DEFHOSTCLONETRIGGER 8
00193 #define DEFUSERCLONETRIGGER 3
00194 
00195 #define SYNCTIME (15*60)
00196 #define SHOWSYNCH
00197 
00198 #define NEWSHEADERLEN 25
00199 #define NEWSCONTENTLEN (MEMOLEN+1)
00200 
00201 #define CHANDESCBUF 101
00202 
00207 #define NICKHASHSIZE        1009  /* nicknames */
00208 #define IDHASHSIZE          1000  /* nicknames by id number */
00209 #define CHANHASHSIZE         523  /* channels */
00210 #define CHANUSERHASHSIZE      53  /* users on a channel */
00211 #define OPHASHSIZE            53  /* channel operators */
00212 #define NICKCHANHASHSIZE      10  /* list of channels the nickname is in */
00213 #define CLONEHASHSIZE       1009  /* hashed list of all clone records */
00214 #define CHANTRIGHASHSIZE      25
00215 #define ENABLE_AHURT
00216 #define IRCD_HURTSET
00217 #define TRACK_GECOS
00218 #define MSG_REMSRA "delsra"
00219 
00220 #define NPW_TH_SENDER_1 2
00221 #define NPW_TH_TARGET_1 10
00222 
00223 #define NPW_TH_SENDER_2 1
00224 #define NPW_TH_TARGET_2 50
00225 
00226 #define NPW_TH_SENDER_3 0
00227 #define NPW_TH_TARGET_3 100
00228 
00229 #define CPW_TH_SENDER_1 3
00230 #define CPW_TH_TARGET_1 10
00231 
00232 #define CPW_TH_SENDER_2 1
00233 #define CPW_TH_TARGET_2 20
00234 
00235 #define CPW_TH_SENDER_3 0
00236 #define CPW_TH_TARGET_3 30
00237 
00238 #define FLOOD_DET_HALF_PERIOD 5
00239 #define FLOOD_DET_Z_PERIOD 10
00240 #define FLOODVAL_BADPW 20
00241 
00242 #ifdef __SORCERYNET__
00243 #define NETNICK         "SorceryNet"
00244 #define NETNICKFOUNDERLINE  "The SorceryNet Network (sorcery@sorcery.net)"
00245 #define IRCD_MLOCK
00246 #endif
00247 #endif

Generated at Sat Oct 25 20:56:09 2003 for Services using Doxygen.
Services Copyr. 1996-2001 Chip Norkus, Max Byrd, Greg Poma, Michael Graff, James Hess, Dafydd James. All rights reserved See LICENSE for licensing information.