Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / include / supported.h
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$
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 "config.h"
29 #include "channel.h"
30 #include "ircd_defs.h"
31
32 /* 
33  * 'Features' supported by this ircd
34  */
35 #define FEATURES \
36                 "WHOX"\
37                 " WALLCHOPS"\
38                 " USERIP"\
39                 " CPRIVMSG"\
40                 " CNOTICE"\
41                 " MAP" \
42                 " SILENCE=%i" \
43                 " MODES=%i" \
44                 " MAXCHANNELS=%i" \
45                 " MAXBANS=%i" \
46                 " NICKLEN=%i" \
47                 " TOPICLEN=%i" \
48                 " KICKLEN=%i" \
49                 " CHANTYPES=%s" \
50                 " PREFIX=%s"
51                  
52 #define FEATURESVALUES MAXSILES,MAXMODEPARAMS,MAXCHANNELSPERUSER,MAXBANS, \
53         NICKLEN,TOPICLEN,TOPICLEN,"+#&","@+"
54
55 #endif /* INCLUDED_supported_h */
56