]> jfr.im git - solanum.git/blobdiff - include/send.h
msgbuf: attach capabilities mask to each tag for sending
[solanum.git] / include / send.h
index b799a0bf4587573f5b5a0169f953133ff45aecdf..08a33626cc0db8d53a2c9cef1a377af67b27fc03 100644 (file)
@@ -68,8 +68,8 @@ extern void sendto_channel_local_with_capability(int type, int caps, int negcaps
 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 *,
@@ -81,6 +81,7 @@ extern void sendto_monitor(struct monitor *monptr, const char *, ...) AFP(2, 3);
 
 extern void sendto_anywhere(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);