* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: send.h 661 2006-02-03 04:20:31Z gxti $
+ * $Id: send.h 3520 2007-06-30 22:15:35Z jilles $
*/
#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_pop_queue(struct Client *);
+
+extern void send_queued(struct Client *to);
+
extern void send_queued_slink_write(int fd, void *data);
extern void sendto_one(struct Client *target_p, const char *, ...) AFP(2, 3);
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_anywhere(struct Client *, struct Client *, const char *,
const char *, ...) AFP(4, 5);