home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / java / in4wjcxu / other / irc / include / channel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-14  |  1.2 KB  |  39 lines

  1. /************************************************************************
  2.  *   IRC - Internet Relay Chat, ircd/channel.h
  3.  *   Copyright (C) 1990 Jarkko Oikarinen
  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 1, or (at your option)
  8.  *   any later version.
  9.  *
  10.  *   This program is distributed in the hope that it will be useful,
  11.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  *   GNU General Public License for more details.
  14.  *
  15.  *   You should have received a copy of the GNU General Public License
  16.  *   along with this program; if not, write to the Free Software
  17.  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  */
  19.  
  20. #ifndef    __channel_include__
  21. #define __channel_include__
  22. #define CREATE 1    /* whether a channel should be
  23.                created or just tested for existance */
  24.  
  25. #define    MODEBUFLEN    200
  26.  
  27. #define NullChn    ((aChannel *)0)
  28.  
  29. #define ChannelExists(n)    (find_channel(n, NullChn) != NullChn)
  30.  
  31. #ifndef    V28PlusOnly
  32. #define    MAXMODEPARAMS    6
  33. #else
  34. #include "msg.h"
  35. #define    MAXMODEPARAMS    (MAXPARA-2)
  36. #endif
  37.  
  38. #endif
  39.