]> jfr.im git - solanum.git/blame - include/substitution.h
extensions/invite_notify: make the NOTICE optional, configurable
[solanum.git] / include / substitution.h
CommitLineData
92fb5c31 1/*
a6f63a82 2 * Solanum: a slightly advanced ircd
92fb5c31
AC
3 * markup.h: parses markup into human-readable strings
4 *
3fc0499e 5 * Copyright (c) 2006-2007 Ariadne Conill <ariadne@dereferenced.org>
92fb5c31
AC
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are
9 * met:
10 *
11 * 1. Redistributions of source code must retain the above copyright notice,
12 * this list of conditions and the following disclaimer.
13 *
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 *
18 * 3. The name of the author may not be used to endorse or promote products
19 * derived from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
25 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
30 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
92fb5c31
AC
32 */
33
34#include "stdinc.h"
92fb5c31
AC
35
36#ifndef SUBSTITUTION_H
37#define SUBSTITUTION_H
38
5b96d9a6
AC
39extern void substitution_append_var(rb_dlink_list *varlist, const char *name, const char *value);
40extern void substitution_free(rb_dlink_list *varlist);
41extern char *substitution_parse(const char *fmt, rb_dlink_list *varlist);
92fb5c31
AC
42
43#endif