]> jfr.im git - irc/rqf/shadowircd.git/blob - include/supported.h
1ed7c0d42c97f9b88706f095ff9726dd768cb056
[irc/rqf/shadowircd.git] / include / supported.h
1 /*
2 * charybdis: A slightly useful ircd.
3 * supported.h: isupport (005) numeric
4 *
5 * Entirely rewritten, August 2006 by Jilles Tjoelker
6 * Copyright (C) 2006 Jilles Tjoelker
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are
10 * met:
11 *
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.
19 *
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.
31 *
32 * $Id: supported.h 1887 2006-08-29 13:42:56Z jilles $
33 */
34
35 #ifndef INCLUDED_supported_h
36 #define INCLUDED_supported_h
37
38 extern void add_isupport(const char *, const char *(*)(const void *), const void *);
39 extern const void *change_isupport(const char *, const char *(*)(const void *), const void *);
40 extern void delete_isupport(const char *);
41 extern void show_isupport(struct Client *);
42 extern void init_isupport(void);
43
44 extern const char *isupport_intptr(const void *);
45 extern const char *isupport_boolean(const void *);
46 extern const char *isupport_string(const void *);
47 extern const char *isupport_stringptr(const void *);
48
49 #endif /* INCLUDED_supported_h */