2 * charybdis: A slightly useful ircd.
3 * supported.h: isupport (005) numeric
5 * Entirely rewritten, August 2006 by Jilles Tjoelker
6 * Copyright (C) 2006 Jilles Tjoelker
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are
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.
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.
32 * $Id: supported.h 26 2006-09-20 18:02:06Z spb $
35 #ifndef INCLUDED_supported_h
36 #define INCLUDED_supported_h
38 extern void add_isupport(const char *, const char *(*)(void *), void *);
39 extern void delete_isupport(const char *);
40 extern void show_isupport(struct Client
*);
41 extern void init_isupport(void);
43 extern const char *isupport_intptr(void *);
44 extern const char *isupport_boolean(void *);
45 extern const char *isupport_string(void *);
46 extern const char *isupport_stringptr(void *);
48 #endif /* INCLUDED_supported_h */