]> jfr.im git - irc/quakenet/snircd.git/blame - include/supported.h
forward port of asuka-noquitparts.patch to .12
[irc/quakenet/snircd.git] / include / supported.h
CommitLineData
189935b1 1/*
2 * IRC - Internet Relay Chat, include/supported.h
3 * Copyright (C) 1999 Perry Lorier.
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, 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 * $Id: supported.h,v 1.20 2005/08/15 23:22:50 entrope Exp $
20 *
21 * Description: This file has the featureset that ircu announces on connecting
22 * a client. It's in this .h because it's likely to be appended
23 * to frequently and s_user.h is included by basically everyone.
24 */
25#ifndef INCLUDED_supported_h
26#define INCLUDED_supported_h
27
28#include "channel.h"
29#include "ircd_defs.h"
30
31/*
32 * 'Features' supported by this ircd
33 */
34#define FEATURES1 \
35 "WHOX"\
36 " WALLCHOPS"\
37 " WALLVOICES"\
38 " USERIP"\
39 " CPRIVMSG"\
40 " CNOTICE"\
41 " SILENCE=%i" \
42 " MODES=%i" \
43 " MAXCHANNELS=%i" \
44 " MAXBANS=%i" \
45 " NICKLEN=%i" \
46 " MAXNICKLEN=%i" \
47 " TOPICLEN=%i" \
48 " AWAYLEN=%i" \
49 " KICKLEN=%i" \
50 " CHANNELLEN=%i" \
51 " MAXCHANNELLEN=%i"
52
53#define FEATURES2 "CHANTYPES=%s" \
54 " PREFIX=%s" \
55 " STATUSMSG=%s" \
56 " CHANMODES=%s" \
57 " CASEMAPPING=%s" \
58 " NETWORK=%s"
59
60#define FEATURESVALUES1 feature_int(FEAT_MAXSILES), MAXMODEPARAMS, \
61 feature_int(FEAT_MAXCHANNELSPERUSER), \
62 feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN), \
63 NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN, \
64 feature_int(FEAT_CHANNELLEN), CHANNELLEN
65
66#define FEATURESVALUES2 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"), "(ov)@+", "@+", \
149c0c9f 67 (feature_bool(FEAT_OPLEVELS) ? "b,AkU,l,imnpstrDdu" : "b,k,l,imnpstrDdu"), \
189935b1 68 "rfc1459", feature_str(FEAT_NETWORK)
69
70#endif /* INCLUDED_supported_h */
71