ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/include/conf/deny.h
Revision: 851
Committed: Mon Feb 19 21:55:24 2007 UTC (17 years, 1 month ago) by bear
Content type: text/x-chdr
File size: 1458 byte(s)
Log Message:
Move some logic from m_kline.c to conf/kill.c, integrate stuff with new csvlib,
clean up / simplify / centralize some code.

parse_aline.c should really be called aline.c or so now

File Contents

# Content
1 /*
2 * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd).
3 * deny.h: Defines deny{} and exempt{} conf sections.
4 *
5 * Copyright (C) 2006 by the Hybrid Development Team.
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 struct DenyConf
26 {
27 struct AccessConf access;
28 char *reason;
29 char *oper_reason;
30 };
31
32 EXTERN int acb_type_deny;
33 EXTERN int acb_type_exempt;
34
35 struct Client;
36
37 EXTERN struct DenyConf *find_dline(const struct irc_ssaddr *);
38 EXTERN struct AccessConf *find_exempt(const struct irc_ssaddr *);
39 EXTERN void report_deny(struct Client *);
40 EXTERN void report_tdeny(struct Client *);
41 EXTERN void report_exempt(struct Client *);
42 EXTERN void add_dline(struct Client *, char *, char *, char *, int);
43
44 #ifdef IN_CONF_C
45 void init_deny(void);
46 #endif

Properties

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