X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Firc.h;h=c2f9b66244eba0c3fc84db90f1104cd60b4d3758;hb=4dc940f59e8499b929b8bad8791a7d337cc62a23;hp=14f1b04a5222d8570bf9a8a414e56c13215dfdf6;hpb=2a13cd224fd6f2cbc9a478c94b4bd4d47fbdd0ad;p=ngircd-alex.git diff --git a/src/ngircd/irc.h b/src/ngircd/irc.h index 14f1b04a..c2f9b662 100644 --- a/src/ngircd/irc.h +++ b/src/ngircd/irc.h @@ -1,44 +1,33 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001 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 comBase beteiligten Autoren finden Sie in der Datei AUTHORS. - * - * $Id: irc.h,v 1.2 2001/12/23 21:57:16 alex Exp $ - * - * irc.h: IRC-Befehle (Header) - * - * $Log: irc.h,v $ - * Revision 1.2 2001/12/23 21:57:16 alex - * - erste IRC-Befehle zu implementieren begonnen. - * - * Revision 1.1 2001/12/14 08:13:43 alex - * - neues Modul begonnen :-) + * 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" - - -GLOBAL VOID IRC_Init( VOID ); -GLOBAL VOID IRC_Exit( VOID ); - -GLOBAL VOID IRC_WriteStr_Client( CLIENT *Client, CLIENT *Prefix, CHAR *Format, ... ); +/** + * @file + * IRC commands (header) + */ -GLOBAL BOOLEAN IRC_PASS( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_NICK( CLIENT *Client, REQUEST *Req ); -GLOBAL BOOLEAN IRC_USER( CLIENT *Client, REQUEST *Req ); +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- */