X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/8aba962d4307746f8eca05d56c9ea34c370332b9..015b28a06cf017c43b286728feedcf32281039c2:/include/send.h diff --git a/include/send.h b/include/send.h index 924c670..9e5c16b 100644 --- a/include/send.h +++ b/include/send.h @@ -27,19 +27,22 @@ #ifndef INCLUDED_send_h #define INCLUDED_send_h +#include "ratbox_lib.h" #include "ircd_defs.h" #include "config.h" /* HAVE_STDARG_H */ struct Client; struct Channel; -struct dlink_list; struct monitor; /* The nasty global also used in s_serv.c for server bursts */ extern unsigned long current_serial; -extern void send_queued_write(int fd, void *data); -extern void send_queued_slink_write(int fd, void *data); +extern struct Client *remote_rehash_oper_p; + +extern void send_pop_queue(struct Client *); + +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); @@ -54,6 +57,9 @@ 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); @@ -71,7 +77,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);