]> jfr.im git - solanum.git/blobdiff - include/send.h
Innovation by sed
[solanum.git] / include / send.h
index b799a0bf4587573f5b5a0169f953133ff45aecdf..4985b4602e570f31b64578bcd5120851095db571 100644 (file)
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: send.h 3520 2007-06-30 22:15:35Z jilles $
  */
 
 #ifndef INCLUDED_send_h
 #define INCLUDED_send_h
 
-#include "ratbox_lib.h"
+#include "rb_lib.h"
 #include "ircd_defs.h"
-#include "config.h"            /* HAVE_STDARG_H */
 
 struct Client;
 struct Channel;
@@ -61,15 +58,16 @@ extern void sendto_channel_opmod(struct Client *one, struct Client *source_p,
                                 struct Channel *chptr, const char *command,
                                 const char *text);
 
-extern void sendto_channel_local(int type, struct Channel *, const char *, ...) AFP(3, 4);
+extern void sendto_channel_local(struct Client *, int type, struct Channel *, const char *, ...) AFP(4, 5);
+extern void sendto_channel_local_priv(struct Client *, int type, const char *priv, struct Channel *, const char *, ...) AFP(5, 6);
 extern void sendto_channel_local_butone(struct Client *, int type, struct Channel *, const char *, ...) AFP(4, 5);
 
-extern void sendto_channel_local_with_capability(int type, int caps, int negcaps, struct Channel *, const char *, ...) AFP(5, 6);
+extern void sendto_channel_local_with_capability(struct Client *, int type, int caps, int negcaps, struct Channel *, const char *, ...) AFP(6, 7);
 extern void sendto_channel_local_with_capability_butone(struct Client *, int type, int caps, int negcaps, struct Channel *,
                                                        const char *, ...) AFP(6, 7);
 
-extern void sendto_common_channels_local(struct Client *, int cap, const char *, ...) AFP(3, 4);
-extern void sendto_common_channels_local_butone(struct Client *, int cap, const char *, ...) AFP(3, 4);
+extern void sendto_common_channels_local(struct Client *, int cap, int negcap, const char *, ...) AFP(4, 5);
+extern void sendto_common_channels_local_butone(struct Client *, int cap, int negcap, const char *, ...) AFP(4, 5);
 
 
 extern void sendto_match_butone(struct Client *, struct Client *,
@@ -77,10 +75,13 @@ extern void sendto_match_butone(struct Client *, struct Client *,
 extern void sendto_match_servs(struct Client *source_p, const char *mask,
                                int capab, int, const char *, ...) AFP(5, 6);
 
-extern void sendto_monitor(struct monitor *monptr, const char *, ...) AFP(2, 3);
+extern void sendto_monitor(struct Client *, struct monitor *monptr, const char *, ...) AFP(3, 4);
 
 extern void sendto_anywhere(struct Client *, struct Client *, const char *,
                            const char *, ...) AFP(4, 5);
+extern void sendto_anywhere_echo(struct Client *, struct Client *, const char *,
+                           const char *, ...) AFP(4, 5);
+extern void sendto_local_clients_with_capability(int cap, const char *pattern, ...) AFP(2, 3);
 
 extern void sendto_realops_snomask(int, int, const char *, ...) AFP(3, 4);
 extern void sendto_realops_snomask_from(int, int, struct Client *, const char *, ...) AFP(4, 5);