Clean a bit - to be continued...
[seven-1.x.git] / libseven / libseven.h
blobfa3520014a11846d3c1cf973519421e599a1c1a4
1 /* {{{ irc-seven: Cows like it.
3 * Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center.
4 * Copyright (C) 1996-2002 Hybrid Development Team.
5 * Copyright (C) 2002-2005 ircd-ratbox development team.
6 * Copyright (C) 2005 William Pitcock and Jilles Tjoelker.
8 * Based on mkpasswd.c, originally by Nelson Minar (minar@reed.edu).
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to:
23 * Free Software Foundation, Inc.
24 * 51 Franklin St - Fifth Floor
25 * Boston, MA 02110-1301
26 * USA
28 * }}} */
30 #ifndef LIBSEVEN_H
31 # define LIBSEVEN_H
33 /* {{{ Includes. */
34 # include "stdinc.h"
35 # include "res.h"
36 # include "numeric.h"
37 # include "tools.h"
38 # include "memory.h"
39 # include "balloc.h"
40 # include "linebuf.h"
41 # include "sprintf_irc.h"
42 # include "commio.h"
43 # include "event.h"
44 /* }}} */
46 typedef void (*seven_log_cb) (const char *);
48 extern void libseven_log (const char *str, ...);
49 extern void libseven_restart (const char *str, ...);
50 extern void libseven_die (const char *str, ...);
51 extern void libseven_init (seven_log_cb, seven_log_cb, seven_log_cb);
53 #endif /* ! LIBSEVEN_H */
56 * vim: ts=8 sw=8 noet fdm=marker tw=80