]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-write.h
Make configure[.ng] compatible with autoconf 1.10 again
[ngircd-alex.git] / src / ngircd / irc-write.h
index 5bac0de7a9960f8351f2c3cc5101bfdd8103023a..dc8dec209157a64c9ad6cdcf625291ec17fbaca9 100644 (file)
@@ -7,36 +7,40 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * Sending IRC commands over the network (header)
  */
 
 #ifndef __irc_write_h__
 #define __irc_write_h__
 
-GLOBAL bool IRC_WriteStrClient PARAMS((CLIENT *Client, char *Format, ...));
+/**
+ * @file
+ * Sending IRC commands over the network (header)
+ */
+
+GLOBAL bool IRC_WriteStrClient PARAMS((CLIENT *Client, const char *Format, ...));
 GLOBAL bool IRC_WriteStrClientPrefix PARAMS((CLIENT *Client, CLIENT *Prefix,
-               char *Format, ...));
+               const char *Format, ...));
 
 GLOBAL bool IRC_WriteStrChannel PARAMS((CLIENT *Client, CHANNEL *Chan,
-               bool Remote, char *Format, ...));
+               bool Remote, const char *Format, ...));
 GLOBAL bool IRC_WriteStrChannelPrefix PARAMS((CLIENT *Client, CHANNEL *Chan,
-               CLIENT *Prefix, bool Remote, char *Format, ...));
+               CLIENT *Prefix, bool Remote, const char *Format, ...));
 
-GLOBAL void IRC_WriteStrServers PARAMS((CLIENT *ExceptOf, char *Format, ...));
+GLOBAL void IRC_WriteStrServers PARAMS((CLIENT *ExceptOf,
+               const char *Format, ...));
 GLOBAL void IRC_WriteStrServersPrefix PARAMS((CLIENT *ExceptOf, CLIENT *Prefix,
-               char *Format, ...));
+               const char *Format, ...));
 GLOBAL void IRC_WriteStrServersPrefixFlag PARAMS((CLIENT *ExceptOf,
-               CLIENT *Prefix, char Flag, char *Format, ...));
+               CLIENT *Prefix, char Flag, const char *Format, ...));
 GLOBAL void IRC_WriteStrServersPrefixFlag_CB PARAMS((CLIENT *ExceptOf,
                CLIENT *Prefix, char Flag,
                void (*callback)(CLIENT *, CLIENT *, void *), void *cb_data));
 
 GLOBAL bool IRC_WriteStrRelatedPrefix PARAMS((CLIENT *Client, CLIENT *Prefix,
-               bool Remote, char *Format, ...));
+               bool Remote, const char *Format, ...));
 
 GLOBAL void IRC_SendWallops PARAMS((CLIENT *Client, CLIENT *From,
-               const char *Message));
+               const char *Format, ...));
 
 GLOBAL void IRC_SetPenalty PARAMS((CLIENT *Client, time_t Seconds));