lists.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * ngIRCd -- The Next Generation IRC Daemon
  3. * Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. * Please read the file COPYING, README and AUTHORS for more information.
  10. *
  11. * $Id: lists.h,v 1.12 2005/03/19 18:43:49 fw Exp $
  12. *
  13. * Management of IRC lists: ban, invite, ... (header)
  14. */
  15. #ifndef __lists_h__
  16. #define __lists_h__
  17. GLOBAL void Lists_Init PARAMS(( void ));
  18. GLOBAL void Lists_Exit PARAMS(( void ));
  19. GLOBAL bool Lists_CheckInvited PARAMS(( CLIENT *Client, CHANNEL *Chan ));
  20. GLOBAL bool Lists_AddInvited PARAMS(( char *Mask, CHANNEL *Chan, bool OnlyOnce ));
  21. GLOBAL void Lists_DelInvited PARAMS(( char *Mask, CHANNEL *Chan ));
  22. GLOBAL bool Lists_ShowInvites PARAMS(( CLIENT *Client, CHANNEL *Channel ));
  23. GLOBAL bool Lists_SendInvites PARAMS(( CLIENT *Client ));
  24. GLOBAL bool Lists_IsInviteEntry PARAMS(( char *Mask, CHANNEL *Chan ));
  25. GLOBAL bool Lists_CheckBanned PARAMS(( CLIENT *Client, CHANNEL *Chan ));
  26. GLOBAL bool Lists_AddBanned PARAMS(( char *Mask, CHANNEL *Chan ));
  27. GLOBAL void Lists_DelBanned PARAMS(( char *Mask, CHANNEL *Chan ));
  28. GLOBAL bool Lists_ShowBans PARAMS(( CLIENT *Client, CHANNEL *Channel ));
  29. GLOBAL bool Lists_SendBans PARAMS(( CLIENT *Client ));
  30. GLOBAL bool Lists_IsBanEntry PARAMS(( char *Mask, CHANNEL *Chan ));
  31. GLOBAL void Lists_DeleteChannel PARAMS(( CHANNEL *Chan ));
  32. GLOBAL char *Lists_MakeMask PARAMS(( char *Pattern ));
  33. #endif
  34. /* -eof- */