]> jfr.im git - irc/rqf/shadowircd.git/blame - include/m_info.h
Fix a typo in configure (glad it was only a minor typo in the help text)
[irc/rqf/shadowircd.git] / include / m_info.h
CommitLineData
212380e3 1/*
2 * ircd-ratbox: A slightly useful ircd.
3 * m_info.h: A header for the information sent by /info
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 *
631ef239 24 * $Id: m_info.h 3356 2007-04-03 09:31:11Z nenolod $
212380e3 25 */
26
27#ifndef INCLUDED_m_info_h
28#define INCLUDED_m_info_h
29
30#include "config.h"
31
32typedef struct Information
33{
34 const char *name; /* name of item */
35 const char *strvalue; /* value of item if it's a boolean */
36 int intvalue; /* value of item if it's an integer */
37 const char *desc; /* short description of item */
38}
39Info;
40
41Info MyInformation[] = {
42
43#ifdef CPATH
44 {"CPATH", CPATH, 0, "Path to Main Configuration File"},
45#else
46 {"CPATH", "NONE", 0, "Path to Main Configuration File"},
47#endif /* CPATH */
48
49#ifdef DPATH
50 {"DPATH", DPATH, 0, "Directory Containing Configuration Files"},
51#else
52 {"DPATH", "NONE", 0, "Directory Containing Configuration Files"},
53#endif /* DPATH */
54
55#ifdef DLPATH
56 {"DLPATH", DLPATH, 0, "Path to D-line File"},
57#else
58 {"DLPATH", "NONE", 0, "Path to D-line File"},
59#endif /* DLPATH */
60
61#ifdef RESVPATH
62 {"RESVPATH", RESVPATH, 0, "Path to resv file"},
63#else
64 {"RESVPATH", "NONE", 0, "Path to resv file"},
65#endif
66
212380e3 67#ifdef HPATH
68 {"HPATH", HPATH, 0, "Path to Operator Help Files"},
69#else
70 {"HPATH", "NONE", 0, "Path to Operator Help Files"},
71#endif /* HPATH */
72
73#ifdef UHPATH
74 {"UHPATH", UHPATH, 0, "Path to User Help Files"},
75#else
76 {"UHPATH", "NONE", 0, "Path to User Help Files"},
77#endif /* UH PATH */
78
79#ifdef SOMAXCONN
80 {"RATBOX_SOMAXCONN", "", SOMAXCONN,
81 "Maximum Queue Length of Pending Connections"},
82#else
83 {"RATBOX_SOMAXCONN", "", RATBOX_SOMAXCONN,
84 "Maximum Queue Length of Pending Connections"},
85#endif /* SOMAXCONN */
86
2f5fa921 87#ifdef RB_IPV6
212380e3 88 {"IPV6", "ON", 0, "IPv6 Support"},
89#else
90 {"IPV6", "OFF", 0, "IPv6 Support"},
91#endif
92
212380e3 93 {"JOIN_LEAVE_COUNT_EXPIRE_TIME", "", JOIN_LEAVE_COUNT_EXPIRE_TIME,
94 "Anti SpamBot Parameter"},
95
96 {"KILLCHASETIMELIMIT", "", KILLCHASETIMELIMIT,
97 "Nick Change Tracker for KILL"},
98
99#ifdef KPATH
100 {"KPATH", KPATH, 0, "Path to K-line File"},
101#else
102 {"KPATH", "NONE", 0, "Path to K-line File"},
103#endif /* KPATH */
104
105#ifdef LPATH
106 {"LPATH", LPATH, 0, "Path to Log File"},
107#else
108 {"LPATH", "NONE", 0, "Path to Log File"},
109#endif /* LPATH */
110
111 {"MAX_BUFFER", "", MAX_BUFFER, "Maximum Buffer Connections Allowed"},
112
113 {"MAX_JOIN_LEAVE_COUNT", "", MAX_JOIN_LEAVE_COUNT,
114 "Anti SpamBot Parameter"},
115
116 {"MIN_JOIN_LEAVE_TIME", "", MIN_JOIN_LEAVE_TIME,
117 "Anti SpamBot Parameter"},
118
119#ifdef MPATH
120 {"MPATH", MPATH, 0, "Path to MOTD File"},
121#else
122 {"MPATH", "NONE", 0, "Path to MOTD File"},
123#endif /* MPATH */
124
125 {"NICKNAMEHISTORYLENGTH", "", NICKNAMEHISTORYLENGTH,
126 "Size of WHOWAS Array"},
127
128#ifdef OPATH
129 {"OPATH", OPATH, 0, "Path to Operator MOTD File"},
130#else
131 {"OPATH", "NONE", 0, "Path to Operator MOTD File"},
132#endif /* OPATH */
133
134 {"OPER_SPAM_COUNTDOWN", "", OPER_SPAM_COUNTDOWN,
135 "Anti SpamBot Parameter"},
136
137#ifdef HAVE_LIBCRYPTO
138 {"HAVE_LIBCRYPTO", "ON", 0, "Enable OpenSSL CHALLENGE Support"},
139#else
140 {"HAVE_LIBCRYPTO", "OFF", 0, "Enable OpenSSL CHALLENGE Support"},
141#endif /* HAVE_LIBCRYPTO */
142
143#ifdef HAVE_LIBZ
144 {"HAVE_LIBZ", "YES", 0, "zlib (ziplinks) support"},
145#else
146 {"HAVE_LIBZ", "NO", 0, "zlib (ziplinks) support"},
147#endif /* HAVE_LIBZ */
148
149#ifdef PPATH
150 {"PPATH", PPATH, 0, "Path to Pid File"},
151#else
152 {"PPATH", "NONE", 0, "Path to Pid File"},
153#endif /* PPATH */
154
155 {"SELECT_TYPE", SELECT_TYPE, 0, "Method of Multiplexed I/O"},
156
157#ifdef SPATH
158 {"SPATH", SPATH, 0, "Path to Server Executable"},
159#else
160 {"SPATH", "NONE", 0, "Path to Server Executable"},
161#endif /* SPATH */
162
163 {"TS_MAX_DELTA_DEFAULT", "", TS_MAX_DELTA_DEFAULT,
164 "Maximum Allowed TS Delta from another Server"},
165 {"TS_WARN_DELTA_DEFAULT", "", TS_WARN_DELTA_DEFAULT,
166 "Maximum TS Delta before Sending Warning"},
167#ifdef USE_IODEBUG_HOOKS
168 {"USE_IODEBUG_HOOKS", "YES", 0, "IO Debugging support"},
169#else
170 {"USE_IODEBUG_HOOKS", "NO", 0, "IO Debugging support"},
171#endif
172
173 /*
174 * since we don't want to include the world here, NULL probably
175 * isn't defined by the time we read this, just use plain 0 instead
176 * 0 is guaranteed by the language to be assignable to ALL built
177 * in types with the correct results.
178 */
179 {0, 0, 0, 0}
180};
181
182
183#endif /* INCLUDED_m_info_h */