X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc.h;h=c2f9b66244eba0c3fc84db90f1104cd60b4d3758;hp=e02516ef9a13e777a00c31f35d03249f7b8a79fc;hb=4102e8fdfea33a5d8c398c98db90914c5dc29610;hpb=2ee05c9a6856d78f996dfbc991452e4cc1c58c37 diff --git a/src/ngircd/irc.h b/src/ngircd/irc.h index e02516ef..c2f9b662 100644 --- a/src/ngircd/irc.h +++ b/src/ngircd/irc.h @@ -1,70 +1,33 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) + * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors. * - * Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen - * der GNU General Public License (GPL), wie von der Free Software Foundation - * herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2 - * der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version. - * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste - * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. - * - * $Id: irc.h,v 1.28 2002/03/03 17:15:11 alex Exp $ - * - * irc.h: IRC-Befehle (Header) - * - * $Log: irc.h,v $ - * Revision 1.28 2002/03/03 17:15:11 alex - * - Source in weitere Module fuer IRC-Befehle aufgesplitted. - * - * Revision 1.27 2002/02/27 23:26:36 alex - * - einige Funktionen in irc-xxx-Module ausgegliedert. - * - * Revision 1.26 2002/02/27 20:33:13 alex - * - Channel-Topics implementiert. - * - * Revision 1.25 2002/02/27 18:23:46 alex - * - IRC-Befehl "AWAY" implementert. - * - * Revision 1.24 2002/02/23 21:39:48 alex - * - IRC-Befehl KILL sowie Kills bei Nick Collsisions implementiert. - * - * Revision 1.23 2002/02/17 23:38:58 alex - * - neuer IRC-Befehl VERSION implementiert: IRC_VERSION(). + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * Please read the file COPYING, README and AUTHORS for more information. */ - #ifndef __irc_h__ #define __irc_h__ -#include "parse.h" -#include "client.h" -#include "channel.h" - - -GLOBAL BOOLEAN IRC_MOTD( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_LUSERS( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_LINKS( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_VERSION( CLIENT *Client, REQUEST *Req ); - -GLOBAL BOOLEAN IRC_PRIVMSG( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_NOTICE( CLIENT *Client, REQUEST *Req ); - -GLOBAL BOOLEAN IRC_NAMES( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_ISON( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_WHOIS( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_USERHOST( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_WHO( CLIENT *Client, REQUEST *Req ); - -GLOBAL BOOLEAN IRC_ERROR( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_KILL( CLIENT *Client, REQUEST *Req ); +/** + * @file + * IRC commands (header) + */ -GLOBAL BOOLEAN IRC_Send_NAMES( CLIENT *Client, CHANNEL *Chan ); -GLOBAL BOOLEAN IRC_Send_LUSERS( CLIENT *Client ); -GLOBAL BOOLEAN IRC_Show_MOTD( CLIENT *Client ); +GLOBAL bool IRC_CheckListTooBig PARAMS((CLIENT *From, const int Count, + const int Limit, const char *Name)); +GLOBAL bool IRC_ERROR PARAMS((CLIENT *Client, REQUEST *Req)); +GLOBAL bool IRC_KILL PARAMS((CLIENT *Client, REQUEST *Req)); +GLOBAL bool IRC_NOTICE PARAMS((CLIENT *Client, REQUEST *Req)); +GLOBAL bool IRC_PRIVMSG PARAMS((CLIENT *Client, REQUEST *Req)); +GLOBAL bool IRC_SQUERY PARAMS((CLIENT *Client, REQUEST *Req)); +GLOBAL bool IRC_TRACE PARAMS((CLIENT *Client, REQUEST *Req)); +GLOBAL bool IRC_HELP PARAMS((CLIENT *Client, REQUEST *Req)); #endif - /* -eof- */