]> jfr.im git - irc/rqf/shadowircd.git/blame - include/chmode.h
TODO: btw, this could be useful: allow to set up configfiles path (etc/)
[irc/rqf/shadowircd.git] / include / chmode.h
CommitLineData
b5482c91
VY
1/*
2 * charybdis: An advanced ircd.
3 * chmode.h: The ircd channel 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 * Copyright (C) 2008 charybdis development team
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23 * USA
24 *
25 * $Id$
26 */
27
28#ifndef INCLUDED_chmode_h
29#define INCLUDED_chmode_h
30
31extern void chm_nosuch(struct Client *source_p, struct Channel *chptr,
32 int alevel, int parc, int *parn,
33 const char **parv, int *errors, int dir, char c, long mode_type);
34extern void chm_simple(struct Client *source_p, struct Channel *chptr,
35 int alevel, int parc, int *parn,
36 const char **parv, int *errors, int dir, char c, long mode_type);
37extern void chm_ban(struct Client *source_p, struct Channel *chptr,
38 int alevel, int parc, int *parn,
39 const char **parv, int *errors, int dir, char c, long mode_type);
40extern void chm_staff(struct Client *source_p, struct Channel *chptr,
41 int alevel, int parc, int *parn,
42 const char **parv, int *errors, int dir, char c, long mode_type);
43extern void chm_forward(struct Client *source_p, struct Channel *chptr,
44 int alevel, int parc, int *parn,
45 const char **parv, int *errors, int dir, char c, long mode_type);
46extern void chm_throttle(struct Client *source_p, struct Channel *chptr,
47 int alevel, int parc, int *parn,
48 const char **parv, int *errors, int dir, char c, long mode_type);
49extern void chm_key(struct Client *source_p, struct Channel *chptr,
50 int alevel, int parc, int *parn,
51 const char **parv, int *errors, int dir, char c, long mode_type);
52extern void chm_limit(struct Client *source_p, struct Channel *chptr,
53 int alevel, int parc, int *parn,
54 const char **parv, int *errors, int dir, char c, long mode_type);
55extern void chm_regonly(struct Client *source_p, struct Channel *chptr,
56 int alevel, int parc, int *parn,
57 const char **parv, int *errors, int dir, char c, long mode_type);
58extern void chm_op(struct Client *source_p, struct Channel *chptr,
59 int alevel, int parc, int *parn,
60 const char **parv, int *errors, int dir, char c, long mode_type);
61extern void chm_voice(struct Client *source_p, struct Channel *chptr,
62 int alevel, int parc, int *parn,
63 const char **parv, int *errors, int dir, char c, long mode_type);
64
75818939
VY
65extern void construct_noparam_modes(void);
66
b5482c91 67#endif