X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Firc.h;h=6be74bb151b22c7e60f743a774f597fe62af89f2;hb=ab44e1c6cc93c34b1a67948c02a840cea5b2b6a9;hp=d0c18b8761d312859dd34a9d80c6c6fbf64adf26;hpb=bbfe9e8ba83ac80474f2950a74f3334b0c86680c;p=ngircd-alex.git diff --git a/src/ngircd/irc.h b/src/ngircd/irc.h index d0c18b87..6be74bb1 100644 --- a/src/ngircd/irc.h +++ b/src/ngircd/irc.h @@ -1,48 +1,27 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001 by Alexander Barton (alex@barton.de) + * Copyright (c)2001,2002 by 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 comBase 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.3 2001/12/25 19:19:30 alex Exp $ + * $Id: irc.h,v 1.36 2002/12/12 12:23:43 alex Exp $ * - * irc.h: IRC-Befehle (Header) - * - * $Log: irc.h,v $ - * Revision 1.3 2001/12/25 19:19:30 alex - * - bessere Fehler-Abfragen, diverse Bugfixes. - * - Nicks werden nur einmal vergeben :-) - * - /MOTD wird unterstuetzt. - * - * 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 :-) + * IRC commands (header) */ #ifndef __irc_h__ #define __irc_h__ -#include "parse.h" - - -GLOBAL VOID IRC_Init( VOID ); -GLOBAL VOID IRC_Exit( VOID ); - -GLOBAL BOOLEAN IRC_WriteStr_Client( CLIENT *Client, CLIENT *Prefix, CHAR *Format, ... ); - -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 BOOLEAN IRC_MOTD( CLIENT *Client, REQUEST *Req ); +GLOBAL BOOLEAN IRC_ERROR PARAMS(( CLIENT *Client, REQUEST *Req )); +GLOBAL BOOLEAN IRC_KILL PARAMS(( CLIENT *Client, REQUEST *Req )); +GLOBAL BOOLEAN IRC_NOTICE PARAMS(( CLIENT *Client, REQUEST *Req )); +GLOBAL BOOLEAN IRC_PRIVMSG PARAMS(( CLIENT *Client, REQUEST *Req )); #endif