]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/irc.h
When sending an error use the IRC_WriteErrClient() variant
[ngircd-alex.git] / src / ngircd / irc.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors.
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 2 of the License, or
8  * (at your option) any later version.
9  * Please read the file COPYING, README and AUTHORS for more information.
10  */
11
12 #ifndef __irc_h__
13 #define __irc_h__
14
15 /**
16  * @file
17  * IRC commands (header)
18  */
19
20 GLOBAL bool IRC_CheckListTooBig PARAMS((CLIENT *From, const int Count,
21                                         const int Limit, const char *Name));
22
23 GLOBAL bool IRC_ERROR PARAMS((CLIENT *Client, REQUEST *Req));
24 GLOBAL bool IRC_KILL PARAMS((CLIENT *Client, REQUEST *Req));
25 GLOBAL bool IRC_NOTICE PARAMS((CLIENT *Client, REQUEST *Req));
26 GLOBAL bool IRC_PRIVMSG PARAMS((CLIENT *Client, REQUEST *Req));
27 GLOBAL bool IRC_SQUERY PARAMS((CLIENT *Client, REQUEST *Req));
28 GLOBAL bool IRC_TRACE PARAMS((CLIENT *Client, REQUEST *Req));
29 GLOBAL bool IRC_HELP PARAMS((CLIENT *Client, REQUEST *Req));
30
31 GLOBAL bool IRC_KillClient PARAMS((CLIENT *Client, CLIENT *From,
32                                    const char *Nick, const char *Reason));
33
34 #endif
35
36 /* -eof- */