]> jfr.im git - irc/rqf/shadowircd.git/blame - include/defaults.h
run autoreconf.
[irc/rqf/shadowircd.git] / include / defaults.h
CommitLineData
212380e3 1/*
2 * ircd-ratbox: A slightly useful ircd.
3 * defaults.h: The ircd defaults header.
4 *
5 * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
6 * Copyright (C) 1996-2002 Hybrid Development Team
7 * Copyright (C) 2002-2004 ircd-ratbox development team
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 * USA
23 *
6fcb8629 24 * $Id: defaults.h 3354 2007-04-03 09:21:31Z nenolod $
212380e3 25 */
26
27#ifndef INCLUDED_defaults_h
28#define INCLUDED_defaults_h
29
30/* this file is included (only) at the end of config.h, to supply default
31 * values for things which are now configurable at runtime.
32 */
33
34/*
35 * First, set other fd limits based on values from user
36 */
212380e3 37/* class {} default values */
38#define DEFAULT_SENDQ 20000000 /* default max SendQ */
39#define PORTNUM 6667 /* default outgoing portnum */
40#define DEFAULT_PINGFREQUENCY 120 /* Default ping frequency */
41#define DEFAULT_CONNECTFREQUENCY 600 /* Default connect frequency */
42#define TS_MAX_DELTA_MIN 10 /* min value for ts_max_delta */
43#define TS_MAX_DELTA_DEFAULT 600 /* default for ts_max_delta */
44#define TS_WARN_DELTA_MIN 10 /* min value for ts_warn_delta */
45#define TS_WARN_DELTA_DEFAULT 30 /* default for ts_warn_delta */
46/* ServerInfo default values */
47#define NETWORK_NAME_DEFAULT "EFnet" /* default for network_name */
48#define NETWORK_DESC_DEFAULT "Eris Free Network" /* default for network_desc */
49/* General defaults */
50#define CLIENT_FLOOD_DEFAULT 20 /* default for client_flood */
51#define CLIENT_FLOOD_MAX 2000
52#define CLIENT_FLOOD_MIN 10
53#define LINKS_DELAY_DEFAULT 300
54#define MAX_TARGETS_DEFAULT 4 /* default for max_targets */
55#define IDENT_TIMEOUT 10
56#define MIN_JOIN_LEAVE_TIME 60
57#define MAX_JOIN_LEAVE_COUNT 25
58#define OPER_SPAM_COUNTDOWN 5
59#define JOIN_LEAVE_COUNT_EXPIRE_TIME 120
60#define MIN_SPAM_NUM 5
61#define MIN_SPAM_TIME 60
62#define CONFIG_RATBOX_LEVEL_1
63#endif /* INCLUDED_defaults_h */