]>
Commit | Line | Data |
---|---|---|
212380e3 AC |
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 | |
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. | |
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 | ||
48a266e5 | 38 | extern void add_isupport(const char *, const char *(*)(const void *), const void *); |
5d47bdca | 39 | extern const void *change_isupport(const char *, const char *(*)(const void *), const void *); |
212380e3 AC |
40 | extern void delete_isupport(const char *); |
41 | extern void show_isupport(struct Client *); | |
42 | extern void init_isupport(void); | |
43 | ||
48a266e5 JT |
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 *); | |
212380e3 AC |
48 | |
49 | #endif /* INCLUDED_supported_h */ |