]> jfr.im git - irc/quakenet/snircd.git/blame - include/check.h
forward port of asuka-check.patch to .12
[irc/quakenet/snircd.git] / include / check.h
CommitLineData
f4a888ca 1/*
2 * IRC - Internet Relay Chat, ircd/check.h
3 * Copyright (C) 1990 University of Oulu, Computing Center
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 1, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20/*
21 * - ASUKA ---------------------------------------------------------------------
22 * These are the declarations of the CHECK functions for Asuka.
23 * Some of this code is from previous QuakeNet ircds, and some of it is my own.
24 * The old code was written by Durzel (durzel@quakenet.org).
25 *
26 * qoreQ (qoreQ@quakenet.org) - 08/14/2002
27 * -----------------------------------------------------------------------------
28 */
29
30#ifndef INCLUDED_check_h
31#define INCLUDED_check_h
32
33#define HEADERLINE "--------------------------------------------------------------------"
34#define COLOR_OFF '\017'
35
36extern void checkChannel(struct Client *sptr, struct Channel *chptr);
37extern void checkUsers(struct Client *sptr, struct Channel *chptr, int flags);
38extern void checkClient(struct Client *sptr, struct Client *acptr);
39extern void checkServer(struct Client *sptr, struct Client *acptr);
40extern signed int checkHostmask(struct Client *sptr, char *hoststr, int flags);
41
42#endif /* INCLUDED_check_h */