]> jfr.im git - solanum.git/blobdiff - include/send.h
ircd_parser: Fix inconsistent declaration of yyerror().
[solanum.git] / include / send.h
index 3741acfdde21f2c2c5eba5484cd326a2c990c738..b799a0bf4587573f5b5a0169f953133ff45aecdf 100644 (file)
@@ -38,9 +38,11 @@ struct monitor;
 /* The nasty global also used in s_serv.c for server bursts */
 extern unsigned long current_serial;
 
-extern void send_queued(struct Client *to);
+extern struct Client *remote_rehash_oper_p;
+
+extern void send_pop_queue(struct Client *);
 
-extern void send_queued_slink_write(int fd, void *data);
+extern void send_queued(struct Client *to);
 
 extern void sendto_one(struct Client *target_p, const char *, ...) AFP(2, 3);
 extern void sendto_one_notice(struct Client *target_p,const char *, ...) AFP(2, 3);
@@ -55,16 +57,24 @@ extern void sendto_server(struct Client *one, struct Channel *chptr,
 
 extern void sendto_channel_flags(struct Client *one, int type, struct Client *source_p,
                                 struct Channel *chptr, const char *, ...) AFP(5, 6);
+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_butone(struct Client *, int type, struct Channel *, const char *, ...) AFP(4, 5);
-extern void sendto_common_channels_local(struct Client *, const char *, ...) AFP(2, 3);
-extern void sendto_common_channels_local_butone(struct Client *, const char *, ...) AFP(2, 3);
+
+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_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_match_butone(struct Client *, struct Client *,
                                const char *, int, const char *, ...) AFP(5, 6);
-extern void sendto_match_servs(struct Client *source_p, const char *mask, 
+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);
@@ -72,7 +82,6 @@ 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_realops_flags(int, int, const char *, ...) AFP(3, 4);
 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);
 
@@ -80,7 +89,7 @@ extern void sendto_wallops_flags(int, struct Client *, const char *, ...) AFP(3,
 
 extern void kill_client(struct Client *client_p, struct Client *diedie,
                         const char *pattern, ...) AFP(3, 4);
-extern void kill_client_serv_butone(struct Client *one, struct Client *source_p, 
+extern void kill_client_serv_butone(struct Client *one, struct Client *source_p,
                                    const char *pattern, ...) AFP(3, 4);
 
 #define L_ALL  0