Blame


1 c23199d9 2002-02-27 alex /*
2 c23199d9 2002-02-27 alex * ngIRCd -- The Next Generation IRC Daemon
3 f199d637 2008-09-23 alex * Copyright (c)2001-2008 Alexander Barton (alex@barton.de)
4 c23199d9 2002-02-27 alex *
5 c7f07523 2002-12-12 alex * This program is free software; you can redistribute it and/or modify
6 c7f07523 2002-12-12 alex * it under the terms of the GNU General Public License as published by
7 c7f07523 2002-12-12 alex * the Free Software Foundation; either version 2 of the License, or
8 c7f07523 2002-12-12 alex * (at your option) any later version.
9 c7f07523 2002-12-12 alex * Please read the file COPYING, README and AUTHORS for more information.
10 c23199d9 2002-02-27 alex *
11 c7f07523 2002-12-12 alex * Sending IRC commands over the network (header)
12 c23199d9 2002-02-27 alex */
13 c23199d9 2002-02-27 alex
14 c23199d9 2002-02-27 alex #ifndef __irc_write_h__
15 c23199d9 2002-02-27 alex #define __irc_write_h__
16 c23199d9 2002-02-27 alex
17 f199d637 2008-09-23 alex GLOBAL bool IRC_WriteStrClient PARAMS((CLIENT *Client, char *Format, ...));
18 f199d637 2008-09-23 alex GLOBAL bool IRC_WriteStrClientPrefix PARAMS((CLIENT *Client, CLIENT *Prefix,
19 f199d637 2008-09-23 alex char *Format, ...));
20 c23199d9 2002-02-27 alex
21 f199d637 2008-09-23 alex GLOBAL bool IRC_WriteStrChannel PARAMS((CLIENT *Client, CHANNEL *Chan,
22 f199d637 2008-09-23 alex bool Remote, char *Format, ...));
23 f199d637 2008-09-23 alex GLOBAL bool IRC_WriteStrChannelPrefix PARAMS((CLIENT *Client, CHANNEL *Chan,
24 f199d637 2008-09-23 alex CLIENT *Prefix, bool Remote, char *Format, ...));
25 c23199d9 2002-02-27 alex
26 f199d637 2008-09-23 alex GLOBAL void IRC_WriteStrServers PARAMS((CLIENT *ExceptOf, char *Format, ...));
27 f199d637 2008-09-23 alex GLOBAL void IRC_WriteStrServersPrefix PARAMS((CLIENT *ExceptOf, CLIENT *Prefix,
28 f199d637 2008-09-23 alex char *Format, ...));
29 f199d637 2008-09-23 alex GLOBAL void IRC_WriteStrServersPrefixFlag PARAMS((CLIENT *ExceptOf,
30 f199d637 2008-09-23 alex CLIENT *Prefix, char Flag, char *Format, ...));
31 f199d637 2008-09-23 alex GLOBAL void IRC_WriteStrServersPrefixFlag_CB PARAMS((CLIENT *ExceptOf,
32 f199d637 2008-09-23 alex CLIENT *Prefix, char Flag,
33 f199d637 2008-09-23 alex void (*callback)(CLIENT *, CLIENT *, void *), void *cb_data));
34 c23199d9 2002-02-27 alex
35 f199d637 2008-09-23 alex GLOBAL bool IRC_WriteStrRelatedPrefix PARAMS((CLIENT *Client, CLIENT *Prefix,
36 f199d637 2008-09-23 alex bool Remote, char *Format, ...));
37 c23199d9 2002-02-27 alex
38 f199d637 2008-09-23 alex GLOBAL void IRC_SetPenalty PARAMS((CLIENT *Client, time_t Seconds));
39 c23199d9 2002-02-27 alex
40 c23199d9 2002-02-27 alex #endif
41 c23199d9 2002-02-27 alex
42 c23199d9 2002-02-27 alex /* -eof- */