X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc.h;h=358d91ac5bc8032a0c5f1fc3809b348a51ffb142;hp=90e0326a7382a379dff8eed6d330dc8f906b91e4;hb=60eac5e952ef4096557d63e323e34498cc88928f;hpb=ca33cbda05902b0009058d369f88c0a7a43b1bbe diff --git a/src/ngircd/irc.h b/src/ngircd/irc.h index 90e0326a..358d91ac 100644 --- a/src/ngircd/irc.h +++ b/src/ngircd/irc.h @@ -1,52 +1,27 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de) + * Copyright (c)2001-2008 Alexander Barton (alex@barton.de) * - * 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. + * 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. * - * $Id: irc.h,v 1.30 2002/03/12 14:37:52 alex Exp $ - * - * irc.h: IRC-Befehle (Header) + * IRC commands (header) */ - #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 ); - -GLOBAL BOOLEAN IRC_Send_NAMES( CLIENT *Client, CHANNEL *Chan ); -GLOBAL BOOLEAN IRC_Send_LUSERS( CLIENT *Client ); -GLOBAL BOOLEAN IRC_Show_MOTD( CLIENT *Client ); -GLOBAL BOOLEAN IRC_Send_WHO( CLIENT *Client, CHANNEL *Chan, BOOLEAN OnlyOps ); - +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- */