]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Solanum: a slightly advanced 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 | ||
33 | #ifndef INCLUDED_supported_h | |
34 | #define INCLUDED_supported_h | |
35 | ||
36 | extern void add_isupport(const char *, const char *(*)(const void *), const void *); | |
37 | extern const void *change_isupport(const char *, const char *(*)(const void *), const void *); | |
38 | extern void delete_isupport(const char *); | |
39 | extern void show_isupport(struct Client *); | |
40 | extern void init_isupport(void); | |
41 | extern void chantypes_update(void); | |
42 | ||
43 | extern const char *isupport_intptr(const void *); | |
44 | extern const char *isupport_boolean(const void *); | |
45 | extern const char *isupport_string(const void *); | |
46 | extern const char *isupport_stringptr(const void *); | |
47 | extern const char *isupport_umode(const void *); | |
48 | ||
49 | #endif /* INCLUDED_supported_h */ |