]> jfr.im git - solanum.git/blame - include/supported.h
m_starttls: advertise tls cap only if SSL is possible
[solanum.git] / include / supported.h
CommitLineData
212380e3 1/*
a6f63a82 2 * Solanum: a slightly advanced ircd
212380e3
AC
3 * supported.h: isupport (005) numeric
4 *
5 * Entirely rewritten, August 2006 by Jilles Tjoelker
6 * Copyright (C) 2006 Jilles Tjoelker
55abcbb2 7 *
212380e3
AC
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are
10 * met:
55abcbb2 11 *
212380e3
AC
12 * 1.Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
14 * 2.Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the
16 * documentation and/or other materials provided with the distribution.
17 * 3.The name of the author may not be used to endorse or promote products
18 * derived from this software without specific prior written permission.
55abcbb2 19 *
212380e3
AC
20 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
24 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
29 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
212380e3
AC
31 */
32
33#ifndef INCLUDED_supported_h
34#define INCLUDED_supported_h
35
48a266e5 36extern void add_isupport(const char *, const char *(*)(const void *), const void *);
5d47bdca 37extern const void *change_isupport(const char *, const char *(*)(const void *), const void *);
212380e3
AC
38extern void delete_isupport(const char *);
39extern void show_isupport(struct Client *);
40extern void init_isupport(void);
01978a2c 41extern void chantypes_update(void);
212380e3 42
48a266e5
JT
43extern const char *isupport_intptr(const void *);
44extern const char *isupport_boolean(const void *);
45extern const char *isupport_string(const void *);
46extern const char *isupport_stringptr(const void *);
8906ffd1 47extern const char *isupport_umode(const void *);
212380e3
AC
48
49#endif /* INCLUDED_supported_h */