commit - 8316d98b161acd4028686b7566541d677d0f6440
commit + 0bb9db1aa08ae2447bd557ddb87aa3a5d350446e
blob - 4e5f561390f5470b83d03d46e13c73a513d837d5
blob + 028aecb1fdc61e5f899ccdb55c324b535547b1ee
--- src/ngircd/channel.c
+++ src/ngircd/channel.c
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
*
- * $Id: channel.c,v 1.10 2002/01/28 01:16:15 alex Exp $
+ * $Id: channel.c,v 1.11 2002/01/29 00:11:10 alex Exp $
*
* channel.c: Management der Channels
*
* $Log: channel.c,v $
+ * Revision 1.11 2002/01/29 00:11:10 alex
+ * - neue Funktionen Channel_FirstChannelOf() und Channel_NextChannelOf().
+ *
* Revision 1.10 2002/01/28 01:16:15 alex
* - neue Funktionen Channel_Name(), Channel_First() und Channel_Next().
*
{
assert( Chan != NULL );
return Get_First_Cl2Chan( NULL, Chan );
-} /* Channel_IsMember */
+} /* Channel_FirstMember */
GLOBAL CL2CHAN *Channel_NextMember( CHANNEL *Chan, CL2CHAN *Cl2Chan )
assert( Cl2Chan != NULL );
return Get_Next_Cl2Chan( Cl2Chan->next, NULL, Chan );
} /* Channel_NextMember */
+
+
+GLOBAL CL2CHAN *Channel_FirstChannelOf( CLIENT *Client )
+{
+ assert( Client != NULL );
+ return Get_First_Cl2Chan( Client, NULL );
+} /* Channel_FirstChannelOf */
+GLOBAL CL2CHAN *Channel_NextChannelOf( CLIENT *Client, CL2CHAN *Cl2Chan )
+{
+ assert( Client != NULL );
+ assert( Cl2Chan != NULL );
+ return Get_Next_Cl2Chan( Cl2Chan->next, Client, NULL );
+} /* Channel_NextChannelOf */
+
+
GLOBAL CLIENT *Channel_GetClient( CL2CHAN *Cl2Chan )
{
assert( Cl2Chan != NULL );
blob - a7769b1bfac726bcba928ebcdbb9043b13321591
blob + b650df12fccc1f8adc121d64ea910eb78ed02205
--- 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.8 2002/01/28 01:16:15 alex Exp $
+ * $Id: channel.h,v 1.9 2002/01/29 00:11:19 alex Exp $
*
* channel.h: Management der Channels (Header)
*
* $Log: channel.h,v $
+ * Revision 1.9 2002/01/29 00:11:19 alex
+ * - neue Funktionen Channel_FirstChannelOf() und Channel_NextChannelOf().
+ *
* Revision 1.8 2002/01/28 01:16:15 alex
* - neue Funktionen Channel_Name(), Channel_First() und Channel_Next().
*
GLOBAL CL2CHAN *Channel_FirstMember( CHANNEL *Chan );
GLOBAL CL2CHAN *Channel_NextMember( CHANNEL *Chan, CL2CHAN *Cl2Chan );
+GLOBAL CL2CHAN *Channel_FirstChannelOf( CLIENT *Client );
+GLOBAL CL2CHAN *Channel_NextChannelOf( CLIENT *Client, CL2CHAN *Cl2Chan );
GLOBAL CLIENT *Channel_GetClient( CL2CHAN *Cl2Chan );
GLOBAL CHANNEL *Channel_GetChannel( CL2CHAN *Cl2Chan );