/[svn]/ircd-hybrid-7.2/include/s_conf.h
ViewVC logotype

Contents of /ircd-hybrid-7.2/include/s_conf.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 632 - (show annotations)
Thu Jun 1 10:53:00 2006 UTC (13 years, 4 months ago) by michael
File MIME type: text/x-csrc
File size: 18964 byte(s)
- Added channel::disable_fake_channels which disallows creation of channels
  that have ascii 2, 3, 31 and 160 in their names.
- Minor improvements and cleanups to channel name validation routines
  backported from 7.3

1 /*
2 * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
3 * s_conf.h: A header for the configuration functions.
4 *
5 * Copyright (C) 2005 by the past and present ircd coders, and others.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 * USA
21 *
22 * $Id$
23 */
24
25 #ifndef INCLUDED_s_conf_h
26 #define INCLUDED_s_conf_h
27 #include "setup.h"
28 #ifdef HAVE_LIBCRYPTO
29 #include <openssl/rsa.h>
30 #endif
31 #include "fileio.h" /* FBFILE */
32 #include "ircd_defs.h"
33 #include "motd.h" /* MessageFile */
34 #include "client.h"
35 #include "hook.h"
36 #include "pcre.h"
37
38 struct Client;
39 struct DNSReply;
40 struct hostent;
41
42 extern FBFILE *conf_fbfile_in;
43 extern struct Callback *client_check_cb;
44
45 typedef enum
46 {
47 CONF_TYPE,
48 CLASS_TYPE,
49 OPER_TYPE,
50 CLIENT_TYPE,
51 SERVER_TYPE,
52 HUB_TYPE,
53 LEAF_TYPE,
54 KLINE_TYPE,
55 DLINE_TYPE,
56 EXEMPTDLINE_TYPE,
57 CLUSTER_TYPE,
58 RKLINE_TYPE,
59 RXLINE_TYPE,
60 XLINE_TYPE,
61 ULINE_TYPE,
62 GLINE_TYPE,
63 CRESV_TYPE,
64 NRESV_TYPE,
65 GDENY_TYPE
66 } ConfType;
67
68 struct split_nuh_item
69 {
70 dlink_node node;
71
72 char *nuhmask;
73 char *nickptr;
74 char *userptr;
75 char *hostptr;
76
77 size_t nicksize;
78 size_t usersize;
79 size_t hostsize;
80 };
81
82 struct ConfItem
83 {
84 char *name; /* Primary key */
85 pcre *regexpname;
86 dlink_node node; /* link into known ConfItems of this type */
87 unsigned int flags;
88 ConfType type;
89 };
90
91 /*
92 * MatchItem - used for XLINE and ULINE types
93 */
94 struct MatchItem
95 {
96 char *user; /* Used for ULINE only */
97 char *host; /* Used for ULINE only */
98 char *reason;
99 char *oper_reason;
100 int action; /* used for uline */
101 int count; /* How many times this matchitem has been matched */
102 int ref_count; /* How many times is this matchitem in use */
103 int illegal; /* Should it be deleted when possible? */
104 time_t hold; /* Hold action until this time (calendar time) */
105 };
106
107 struct AccessItem
108 {
109 dlink_node node;
110 unsigned int status; /* If CONF_ILLEGAL, delete when no clients */
111 unsigned int flags;
112 unsigned int modes;
113 int clients; /* Number of *LOCAL* clients using this */
114 struct irc_ssaddr my_ipnum; /* ip to bind to for outgoing connect */
115 struct irc_ssaddr ipnum; /* ip to connect to */
116 char * host; /* host part of user@host */
117 char * passwd;
118 char * spasswd; /* Password to send. */
119 char * reason;
120 char * oper_reason;
121 char * user; /* user part of user@host */
122 int port;
123 char * fakename; /* Mask name */
124 time_t hold; /* Hold action until this time (calendar time) */
125 struct ConfItem *class_ptr; /* Class of connection */
126 struct DNSQuery* dns_query;
127 int aftype;
128 #ifdef HAVE_LIBCRYPTO
129 char * rsa_public_key_file;
130 RSA * rsa_public_key;
131 struct EncCapability *cipher_preference;
132 #endif
133 pcre *regexuser;
134 pcre *regexhost;
135 };
136
137 struct ClassItem
138 {
139 long max_sendq;
140 int con_freq;
141 int ping_freq;
142 int ping_warning;
143 int max_total;
144 int max_local;
145 int max_global;
146 int max_ident;
147 int max_perip;
148 int curr_user_count;
149 int cidr_bitlen_ipv4;
150 int cidr_bitlen_ipv6;
151 int number_per_cidr;
152 dlink_list list_ipv4; /* base of per cidr ipv4 client link list */
153 dlink_list list_ipv6; /* base of per cidr ipv6 client link list */
154 };
155
156 struct CidrItem
157 {
158 struct irc_ssaddr mask;
159 int number_on_this_cidr;
160 dlink_node node;
161 };
162
163 #define ConFreq(x) ((x)->con_freq)
164 #define PingFreq(x) ((x)->ping_freq)
165 #define PingWarning(x) ((x)->ping_warning)
166 #define MaxTotal(x) ((x)->max_total)
167 #define MaxGlobal(x) ((x)->max_global)
168 #define MaxLocal(x) ((x)->max_local)
169 #define MaxIdent(x) ((x)->max_ident)
170 #define MaxPerIp(x) ((x)->max_perip)
171 #define MaxSendq(x) ((x)->max_sendq)
172 #define CurrUserCount(x) ((x)->curr_user_count)
173 #define CidrBitlenIPV4(x) ((x)->cidr_bitlen_ipv4)
174 #define CidrBitlenIPV6(x) ((x)->cidr_bitlen_ipv6)
175 #define NumberPerCidr(x) ((x)->number_per_cidr)
176
177 #define ClassPtr(x) ((x)->class_ptr)
178
179
180 #define CONF_ILLEGAL 0x80000000
181 #define CONF_RESERVED 0x00000001
182 #define CONF_CLIENT 0x00000002
183 #define CONF_SERVER 0x00000004
184 #define CONF_OPERATOR 0x00000008
185 #define CONF_KILL 0x00000010
186 #define CONF_KLINE CONF_KILL
187 #define CONF_CLASS 0x00000020
188 #define CONF_LEAF 0x00000040
189 #define CONF_LISTEN_PORT 0x00000080
190 #define CONF_HUB 0x00000100
191 #define CONF_EXEMPTKLINE 0x00000200
192 #define CONF_NOLIMIT 0x00000400
193 #define CONF_DLINE 0x00000800
194 #define CONF_XLINE 0x00001000
195 #define CONF_ULINE 0x00002000
196 #define CONF_EXEMPTDLINE 0x00004000
197 #define CONF_GLINE 0x00008000
198
199 #define CONF_SERVER_MASK CONF_SERVER
200 #define CONF_CLIENT_MASK (CONF_CLIENT | CONF_OPERATOR | CONF_SERVER_MASK)
201
202 /* XXX temporary hack */
203 #define CONF_CRESV 0x80000001
204 #define CONF_NRESV 0x80000002
205
206 #define IsConfIllegal(x) ((x)->status & CONF_ILLEGAL)
207 #define SetConfIllegal(x) ((x)->status |= CONF_ILLEGAL)
208 #define IsConfServer(x) ((x)->status == CONF_SERVER)
209 #define SetConfServer(x) ((x)->status = CONF_SERVER)
210 #define IsConfOperator(x) ((x)->status & CONF_OPERATOR)
211 #define IsConfHub(x) ((x)->status == CONF_HUB)
212 #define SetConfHub(x) ((x)->status = CONF_HUB)
213 #define IsConfLeaf(x) ((x)->status == CONF_LEAF)
214 #define SetConfLeaf(x) ((x)->status = CONF_LEAF)
215 #define IsConfHubOrLeaf(x) ((x)->status & (CONF_HUB|CONF_LEAF))
216 #define IsConfKill(x) ((x)->status == CONF_KILL)
217 #define IsConfClient(x) ((x)->status & CONF_CLIENT)
218 #define IsConfTypeOfClient(x) ((x)->status & CONF_CLIENT_MASK)
219 #define IsConfUline(x) ((x)->status & CONF_ULINE)
220 #define IsConfXline(x) ((x)->status & CONF_XLINE)
221 #define IsConfGline(x) ((x)->status == CONF_GLINE)
222
223 /* AccessItem->flags */
224
225 /* Generic flags... */
226 /* access flags... */
227 #define CONF_FLAGS_DO_IDENTD 0x00000001
228 #define CONF_FLAGS_LIMIT_IP 0x00000002
229 #define CONF_FLAGS_NO_TILDE 0x00000004
230 #define CONF_FLAGS_NEED_IDENTD 0x00000008
231 /* 0x00000010 */
232 #define CONF_FLAGS_NOMATCH_IP 0x00000020
233 #define CONF_FLAGS_EXEMPTKLINE 0x00000040
234 #define CONF_FLAGS_NOLIMIT 0x00000080
235 #define CONF_FLAGS_IDLE_LINED 0x00000100
236 #define CONF_FLAGS_SPOOF_IP 0x00000200
237 #define CONF_FLAGS_SPOOF_NOTICE 0x00000400
238 #define CONF_FLAGS_REDIR 0x00000800
239 #define CONF_FLAGS_EXEMPTGLINE 0x00001000
240 #define CONF_FLAGS_RESTRICTED 0x00002000
241 #define CONF_FLAGS_CAN_FLOOD 0x00100000
242 #define CONF_FLAGS_NEED_PASSWORD 0x00200000
243 /* server flags */
244 #define CONF_FLAGS_ALLOW_AUTO_CONN 0x00004000
245 #define CONF_FLAGS_LAZY_LINK 0x00008000
246 #define CONF_FLAGS_ENCRYPTED 0x00010000
247 #define CONF_FLAGS_COMPRESSED 0x00020000
248 #define CONF_FLAGS_TEMPORARY 0x00040000
249 #define CONF_FLAGS_CRYPTLINK 0x00080000
250 #define CONF_FLAGS_BURST_AWAY 0x00400000
251 #define CONF_FLAGS_EXEMPTRESV 0x00800000
252 #define CONF_FLAGS_TOPICBURST 0x01000000
253
254 /* Macros for struct AccessItem */
255 #define IsLimitIp(x) ((x)->flags & CONF_FLAGS_LIMIT_IP)
256 #define IsNoTilde(x) ((x)->flags & CONF_FLAGS_NO_TILDE)
257 #define IsConfCanFlood(x) ((x)->flags & CONF_FLAGS_CAN_FLOOD)
258 #define IsNeedPassword(x) ((x)->flags & CONF_FLAGS_NEED_PASSWORD)
259 #define IsNeedIdentd(x) ((x)->flags & CONF_FLAGS_NEED_IDENTD)
260 #define IsNoMatchIp(x) ((x)->flags & CONF_FLAGS_NOMATCH_IP)
261 #define IsConfExemptKline(x) ((x)->flags & CONF_FLAGS_EXEMPTKLINE)
262 #define IsConfExemptLimits(x) ((x)->flags & CONF_FLAGS_NOLIMIT)
263 #define IsConfExemptGline(x) ((x)->flags & CONF_FLAGS_EXEMPTGLINE)
264 #define IsConfExemptResv(x) ((x)->flags & CONF_FLAGS_EXEMPTRESV)
265 #define IsConfIdlelined(x) ((x)->flags & CONF_FLAGS_IDLE_LINED)
266 #define IsConfDoIdentd(x) ((x)->flags & CONF_FLAGS_DO_IDENTD)
267 #define IsConfDoSpoofIp(x) ((x)->flags & CONF_FLAGS_SPOOF_IP)
268 #define IsConfSpoofNotice(x) ((x)->flags & CONF_FLAGS_SPOOF_NOTICE)
269 #define IsConfRestricted(x) ((x)->flags & CONF_FLAGS_RESTRICTED)
270 #define IsConfEncrypted(x) ((x)->flags & CONF_FLAGS_ENCRYPTED)
271 #define SetConfEncrypted(x) ((x)->flags |= CONF_FLAGS_ENCRYPTED)
272 #define ClearConfEncrypted(x) ((x)->flags &= ~CONF_FLAGS_ENCRYPTED)
273 #define IsConfCompressed(x) ((x)->flags & CONF_FLAGS_COMPRESSED)
274 #define SetConfCompressed(x) ((x)->flags |= CONF_FLAGS_COMPRESSED)
275 #define ClearConfCompressed(x) ((x)->flags &= ~CONF_FLAGS_COMPRESSED)
276 #define IsConfCryptLink(x) ((x)->flags & CONF_FLAGS_CRYPTLINK)
277 #define SetConfCryptLink(x) ((x)->flags |= CONF_FLAGS_CRYPTLINK)
278 #define ClearConfCryptLink(x) ((x)->flags &= ~CONF_FLAGS_CRYPTLINK)
279 #define IsConfLazyLink(x) ((x)->flags & CONF_FLAGS_LAZY_LINK)
280 #define SetConfLazyLink(x) ((x)->flags = CONF_FLAGS_LAZY_LINK)
281 #define ClearConfLazyLink(x) ((x)->flags &= ~CONF_FLAGS_LAZY_LINK)
282 #define IsConfAllowAutoConn(x) ((x)->flags & CONF_FLAGS_ALLOW_AUTO_CONN)
283 #define SetConfAllowAutoConn(x) ((x)->flags |= CONF_FLAGS_ALLOW_AUTO_CONN)
284 #define ClearConfAllowAutoConn(x) ((x)->flags &= ~CONF_FLAGS_ALLOW_AUTO_CONN)
285 #define IsConfTemporary(x) ((x)->flags & CONF_FLAGS_TEMPORARY)
286 #define SetConfTemporary(x) ((x)->flags |= CONF_FLAGS_TEMPORARY)
287 #define IsConfRedir(x) ((x)->flags & CONF_FLAGS_REDIR)
288 #define IsConfAwayBurst(x) ((x)->flags & CONF_FLAGS_BURST_AWAY)
289 #define SetConfAwayBurst(x) ((x)->flags |= CONF_FLAGS_BURST_AWAY)
290 #define ClearConfAwayBurst(x) ((x)->flags &= ~CONF_FLAGS_BURST_AWAY)
291 #define IsConfTopicBurst(x) ((x)->flags & CONF_FLAGS_TOPICBURST)
292 #define SetConfTopicBurst(x) ((x)->flags |= CONF_FLAGS_TOPICBURST)
293 #define ClearConfTopicBurst(x) ((x)->flags &= ~CONF_FLAGS_TOPICBURST)
294
295 /* shared/cluster server entry types
296 * These defines are used for both shared and cluster.
297 */
298 #define SHARED_KLINE 0x0001
299 #define SHARED_TKLINE 0x0002
300 #define SHARED_UNKLINE 0x0004
301 #define SHARED_XLINE 0x0008
302 #define SHARED_TXLINE 0x0010
303 #define SHARED_UNXLINE 0x0020
304 #define SHARED_RESV 0x0040
305 #define SHARED_TRESV 0x0080
306 #define SHARED_UNRESV 0x0100
307 #define SHARED_LOCOPS 0x0200
308 #define SHARED_ALL (SHARED_KLINE | SHARED_TKLINE | SHARED_UNKLINE | \
309 SHARED_XLINE | SHARED_TXLINE | SHARED_UNXLINE | \
310 SHARED_RESV | SHARED_TRESV | SHARED_UNRESV |\
311 SHARED_LOCOPS)
312
313 /* gline acl entry actions */
314 #define GDENY_BLOCK 0x1
315 #define GDENY_REJECT 0x2
316
317 struct config_file_entry
318 {
319 const char *dpath; /* DPATH if set from command line */
320 const char *configfile;
321 const char *klinefile;
322 const char *xlinefile;
323 const char *rxlinefile;
324 const char *rklinefile;
325 const char *dlinefile;
326 const char *glinefile;
327 const char *cresvfile;
328 const char *nresvfile;
329
330 char *logpath;
331 char *operlog;
332
333 char *servlink_path;
334 char *egdpool_path;
335
336 MessageFile motd;
337 MessageFile opermotd;
338 MessageFile linksfile;
339
340 unsigned char compression_level;
341 int gline_min_cidr;
342 int gline_min_cidr6;
343 int dot_in_ip6_addr;
344 int dots_in_ident;
345 int failed_oper_notice;
346 int anti_spam_exit_message_time;
347 int max_accept;
348 int max_nick_time;
349 int max_nick_changes;
350 int ts_max_delta;
351 int ts_warn_delta;
352 int anti_nick_flood;
353 int kline_with_reason;
354 int warn_no_nline;
355 int invisible_on_connect;
356 int stats_e_disabled;
357 int stats_o_oper_only;
358 int stats_k_oper_only;
359 int stats_i_oper_only;
360 int stats_P_oper_only;
361 int short_motd;
362 int no_oper_flood;
363 int true_no_oper_flood;
364 int oper_pass_resv;
365 int glines;
366 int hide_spoof_ips;
367 int burst_away;
368 int use_whois_actually;
369 int tkline_expire_notices;
370 int opers_bypass_callerid;
371 int ignore_bogus_ts;
372 char *kline_reason;
373 int pace_wait;
374 int pace_wait_simple;
375 int gline_time;
376 int gline_logging;
377 int idletime;
378 int oper_only_umodes;
379 int oper_umodes;
380 int max_targets;
381 int caller_id_wait;
382 int min_nonwildcard;
383 int min_nonwildcard_simple;
384 int kill_chase_time_limit;
385 int default_floodcount;
386 int client_flood;
387 /* 0 == don't use throttle... */
388 int throttle_time;
389 int use_egd;
390 int ping_cookie;
391 int disable_auth;
392 int disable_remote;
393 #ifdef HAVE_LIBCRYPTO
394 struct EncCapability *default_cipher_preference;
395 #endif
396 };
397
398 struct config_channel_entry
399 {
400 int disable_fake_channels;
401 int restrict_channels;
402 int disable_local_channels;
403 int use_except;
404 int use_invex;
405 int use_knock;
406 int knock_delay;
407 int knock_delay_channel;
408 unsigned int max_bans;
409 unsigned int max_chans_per_user;
410 int no_create_on_split;
411 int no_join_on_split;
412 int quiet_on_ban;
413 int burst_topicwho;
414 int default_split_server_count;
415 int default_split_user_count;
416 };
417
418 struct config_server_hide
419 {
420 int flatten_links;
421 int hide_servers;
422 char *hidden_name;
423 int links_delay;
424 int links_disabled;
425 int hidden;
426 int disable_hidden;
427 int hide_server_ips;
428 };
429
430 struct server_info
431 {
432 char *name;
433 char *description;
434 char *network_name;
435 char *network_desc;
436 #ifdef HAVE_LIBCRYPTO
437 char *rsa_private_key_file;
438 RSA *rsa_private_key;
439 SSL_CTX *ctx;
440 #endif
441 char *sid;
442 int hub;
443 struct irc_ssaddr ip;
444 struct irc_ssaddr ip6;
445 int max_clients;
446 int specific_ipv4_vhost;
447 int specific_ipv6_vhost;
448 struct sockaddr_in dns_host;
449 int can_use_v6;
450 };
451
452 struct admin_info
453 {
454 char *name;
455 char *description;
456 char *email;
457 };
458
459 struct logging_entry
460 {
461 unsigned int use_logging;
462 char operlog[PATH_MAX + 1];
463 char userlog[PATH_MAX + 1];
464 char glinelog[PATH_MAX + 1];
465 char ioerrlog[PATH_MAX + 1];
466 char klinelog[PATH_MAX + 1];
467 char killlog[PATH_MAX + 1];
468 char operspylog[PATH_MAX + 1];
469 char failed_operlog[PATH_MAX + 1];
470 };
471
472 extern int ypass;
473 extern dlink_list class_items;
474 extern dlink_list server_items;
475 extern dlink_list cluster_items;
476 extern dlink_list hub_items;
477 extern dlink_list rxconf_items;
478 extern dlink_list rkconf_items;
479 extern dlink_list leaf_items;
480 extern dlink_list temporary_klines;
481 extern dlink_list temporary_dlines;
482 extern dlink_list temporary_glines;
483 extern dlink_list temporary_xlines;
484 extern dlink_list temporary_rxlines;
485 extern dlink_list temporary_rklines;
486 extern struct logging_entry ConfigLoggingEntry;
487 extern struct config_file_entry ConfigFileEntry;/* defined in ircd.c*/
488 extern struct config_channel_entry ConfigChannel;/* defined in channel.c*/
489 extern struct config_server_hide ConfigServerHide; /* defined in s_conf.c */
490 extern struct server_info ServerInfo; /* defined in ircd.c */
491 extern struct admin_info AdminInfo; /* defined in ircd.c */
492 extern int valid_wild_card(struct Client *, int, int, ...);
493 /* End GLOBAL section */
494
495 extern unsigned long get_sendq(struct Client *);
496 extern const char *get_client_class(struct Client *);
497 extern int get_client_ping(struct Client *, int *);
498 extern void check_class(void);
499 extern void init_class(void);
500 extern struct ConfItem *find_class(const char *);
501 extern void init_ip_hash_table(void);
502 extern void count_ip_hash(int *, unsigned long *);
503 extern void remove_one_ip(struct irc_ssaddr *);
504 extern struct ConfItem *make_conf_item(ConfType type);
505 extern void free_access_item(struct AccessItem *);
506 extern void read_conf_files(int);
507 extern int attach_conf(struct Client *, struct ConfItem *);
508 extern int attach_connect_block(struct Client *, const char *, const char *);
509
510 extern int detach_conf(struct Client *, ConfType);
511
512 extern struct ConfItem *find_conf_name(dlink_list *, const char *, ConfType);
513 extern struct ConfItem *find_conf_exact(ConfType, const char *, const char *, const char *);
514 extern struct AccessItem *find_kill(struct Client *);
515 extern struct AccessItem *find_gline(struct Client *);
516 extern int conf_connect_allowed(struct irc_ssaddr *, int);
517 extern char *oper_privs_as_string(const unsigned int);
518 extern void split_nuh(struct split_nuh_item *);
519 extern struct ConfItem *find_matching_name_conf(ConfType, const char *,
520 const char *, const char *, int);
521 extern struct ConfItem *find_exact_name_conf(ConfType, const char *,
522 const char *, const char *);
523 extern void delete_conf_item(struct ConfItem *);
524 extern void report_confitem_types(struct Client *, ConfType, int);
525 extern void yyerror(const char *);
526 extern int conf_yy_fatal_error(const char *);
527 extern int conf_fbgets(char *, unsigned int, FBFILE *);
528 extern void write_conf_line(struct Client *, struct ConfItem *,
529 const char *, time_t);
530 extern int remove_conf_line(ConfType, struct Client *, const char *,
531 const char *);
532 extern void add_temp_line(struct ConfItem *);
533 extern void cleanup_tklines(void *);
534 extern const char *get_conf_name(ConfType);
535 extern int rehash(int);
536 extern int conf_add_server(struct ConfItem *, const char *);
537 extern void conf_add_class_to_conf(struct ConfItem *, const char *);
538 extern void conf_add_d_conf(struct AccessItem *);
539
540 /* XXX consider moving these into csvlib.h */
541 extern void parse_csv_file(FBFILE *, ConfType);
542
543 extern char *get_oper_name(const struct Client *);
544
545 extern void *map_to_conf(struct ConfItem *);
546 extern struct ConfItem *unmap_conf_item(void *);
547 /* XXX should the parse_aline stuff go into another file ?? */
548 #define AWILD 0x1 /* check wild cards */
549 #define NOUSERLOOKUP 0x2 /* Don't lookup the user@host on /rkline nick */
550 extern int parse_aline(const char *, struct Client *, int, char **,
551 int, char **, char **, time_t *, char **, char **);
552 extern int valid_comment(struct Client *, char *, int);
553
554 /* XXX */
555 extern int yylex(void);
556
557 #define TK_SECONDS 0
558 #define TK_MINUTES 1
559 extern time_t valid_tkline(char *, int);
560 extern int match_conf_password(const char *, const struct AccessItem *);
561
562 #define NOT_AUTHORIZED (-1)
563 #define I_LINE_FULL (-2)
564 #define TOO_MANY (-3)
565 #define BANNED_CLIENT (-4)
566 #define TOO_FAST (-5)
567
568 #define CLEANUP_TKLINES_TIME 60
569
570 extern void cluster_a_line(struct Client *,
571 const char *, int, int, const char *,...);
572 extern void rebuild_cidr_class(struct ConfItem *, struct ClassItem *);
573
574 #endif /* INCLUDED_s_conf_h */

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26