commit - fc3c82f7dfbabb06f78e097f1fabf2eea897a576
commit + 4b0c9849d6e447608c4092d7ff9817d2823f7c57
blob - b37cb5809fa1d09636c21378ea94b4bd00de8ca0
blob + 9ca60d319164590b90c0210bd28025cc67ab5103
--- src/ngircd/channel.h
+++ src/ngircd/channel.h
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
*
- * $Id: channel.h,v 1.5 2002/01/16 22:09:07 alex Exp $
+ * $Id: channel.h,v 1.6 2002/01/21 00:11:59 alex Exp $
*
* channel.h: Management der Channels (Header)
*
* $Log: channel.h,v $
+ * Revision 1.6 2002/01/21 00:11:59 alex
+ * - Definition der CHANNEL-Struktur aus Header entfernt,
+ * - neue Funktionen Channel_Join(), Channel_Part() und Channel_RemoveClient().
+ *
* Revision 1.5 2002/01/16 22:09:07 alex
* - neue Funktion Channel_Count().
*
*
* Revision 1.1 2001/12/14 08:13:43 alex
* - neues Modul begonnen :-)
- *
*/
#ifndef __channel_h__
#define __channel_h__
+#include "client.h"
-typedef struct _CHANNEL
-{
- CHAR name[CHANNEL_NAME_LEN]; /* Name */
-} CHANNEL;
-
GLOBAL VOID Channel_Init( VOID );
GLOBAL VOID Channel_Exit( VOID );
+GLOBAL BOOLEAN Channel_Join( CLIENT *Client, CHAR *Name );
+GLOBAL BOOLEAN Channel_Part( CLIENT *Client, CLIENT *Origin, CHAR *Name, CHAR *Reason );
+
+GLOBAL VOID Channel_RemoveClient( CLIENT *Client, CHAR *Reason );
+
GLOBAL INT Channel_Count( VOID );