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