2001-12-14 09:13:43 +01:00
|
|
|
/*
|
|
|
|
* ngIRCd -- The Next Generation IRC Daemon
|
|
|
|
* Copyright (c)2001 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.
|
|
|
|
*
|
2001-12-27 20:17:26 +01:00
|
|
|
* $Id: irc.h,v 1.8 2001/12/27 19:17:26 alex Exp $
|
2001-12-14 09:13:43 +01:00
|
|
|
*
|
|
|
|
* irc.h: IRC-Befehle (Header)
|
|
|
|
*
|
|
|
|
* $Log: irc.h,v $
|
2001-12-27 20:17:26 +01:00
|
|
|
* Revision 1.8 2001/12/27 19:17:26 alex
|
|
|
|
* - neue Befehle PRIVMSG, NOTICE, PING.
|
|
|
|
*
|
2001-12-27 17:55:41 +01:00
|
|
|
* Revision 1.7 2001/12/27 16:55:41 alex
|
|
|
|
* - neu: IRC_WriteStrRelated(), Aenderungen auch in IRC_WriteStrClient().
|
|
|
|
*
|
2001-12-26 15:45:37 +01:00
|
|
|
* Revision 1.6 2001/12/26 14:45:37 alex
|
|
|
|
* - "Code Cleanups".
|
|
|
|
*
|
2001-12-26 04:21:46 +01:00
|
|
|
* Revision 1.5 2001/12/26 03:21:46 alex
|
|
|
|
* - PING/PONG-Befehle implementiert,
|
|
|
|
* - Meldungen ueberarbeitet: enthalten nun (fast) immer den Nick.
|
|
|
|
*
|
2001-12-25 23:02:42 +01:00
|
|
|
* Revision 1.4 2001/12/25 22:02:42 alex
|
|
|
|
* - neuer IRC-Befehl "/QUIT". Verbessertes Logging & Debug-Ausgaben.
|
|
|
|
*
|
2001-12-25 20:19:30 +01:00
|
|
|
* Revision 1.3 2001/12/25 19:19:30 alex
|
|
|
|
* - bessere Fehler-Abfragen, diverse Bugfixes.
|
|
|
|
* - Nicks werden nur einmal vergeben :-)
|
|
|
|
* - /MOTD wird unterstuetzt.
|
|
|
|
*
|
2001-12-23 22:57:16 +01:00
|
|
|
* Revision 1.2 2001/12/23 21:57:16 alex
|
|
|
|
* - erste IRC-Befehle zu implementieren begonnen.
|
|
|
|
*
|
2001-12-14 09:13:43 +01:00
|
|
|
* Revision 1.1 2001/12/14 08:13:43 alex
|
|
|
|
* - neues Modul begonnen :-)
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __irc_h__
|
|
|
|
#define __irc_h__
|
|
|
|
|
2001-12-23 22:57:16 +01:00
|
|
|
#include "parse.h"
|
|
|
|
|
2001-12-14 09:13:43 +01:00
|
|
|
|
|
|
|
GLOBAL VOID IRC_Init( VOID );
|
|
|
|
GLOBAL VOID IRC_Exit( VOID );
|
|
|
|
|
2001-12-26 15:45:37 +01:00
|
|
|
GLOBAL BOOLEAN IRC_WriteStrClient( CLIENT *Client, CLIENT *Prefix, CHAR *Format, ... );
|
2001-12-27 17:55:41 +01:00
|
|
|
GLOBAL BOOLEAN IRC_WriteStrRelated( CLIENT *Client, CHAR *Format, ... );
|
2001-12-23 22:57:16 +01:00
|
|
|
|
|
|
|
GLOBAL BOOLEAN IRC_PASS( CLIENT *Client, REQUEST *Req );
|
|
|
|
GLOBAL BOOLEAN IRC_NICK( CLIENT *Client, REQUEST *Req );
|
|
|
|
GLOBAL BOOLEAN IRC_USER( CLIENT *Client, REQUEST *Req );
|
2001-12-26 04:21:46 +01:00
|
|
|
GLOBAL BOOLEAN IRC_PING( CLIENT *Client, REQUEST *Req );
|
|
|
|
GLOBAL BOOLEAN IRC_PONG( CLIENT *Client, REQUEST *Req );
|
2001-12-25 23:02:42 +01:00
|
|
|
GLOBAL BOOLEAN IRC_QUIT( CLIENT *Client, REQUEST *Req );
|
2001-12-23 22:57:16 +01:00
|
|
|
|
2001-12-25 20:19:30 +01:00
|
|
|
GLOBAL BOOLEAN IRC_MOTD( CLIENT *Client, REQUEST *Req );
|
|
|
|
|
2001-12-27 20:17:26 +01:00
|
|
|
GLOBAL BOOLEAN IRC_PRIVMSG( CLIENT *Client, REQUEST *Req );
|
|
|
|
GLOBAL BOOLEAN IRC_NOTICE( CLIENT *Client, REQUEST *Req );
|
|
|
|
|
2001-12-14 09:13:43 +01:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* -eof- */
|