ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/vendor/pxys2-2.0.0/pxyservd/src/irc_channels.h
Revision: 3252
Committed: Wed Apr 2 20:41:43 2014 UTC (11 years, 4 months ago) by michael
Content type: text/x-chdr
File size: 1286 byte(s)
Log Message:
- Imported pxys2-2.0.0

File Contents

# Content
1 /* Copyright (C) 2003 Stephane Thiell
2 *
3 * This file is part of pxyservd (from pxys)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *
19 * $Id: irc_channels.h,v 1.1.1.1 2003/12/30 17:09:31 mbuna Exp $
20 */
21 #ifndef INCLUDED_IRC_CHANNELS_H
22 #define INCLUDED_IRC_CHANNELS_H
23
24 #error deprecated
25
26 #define IsGlobalChannel(name) (*(name) == '#')
27 #define IsLocalChannel(name) (*(name) == '&')
28 #define IsModelessChannel(name) (*(name) == '+')
29 #define IsChannelName(name) (IsGlobalChannel(name) || \
30 IsModelessChannel(name) || IsLocalChannel(name))
31
32 #endif /* INCLUDED_IRC_CHANNELS_H */