]> jfr.im git - solanum.git/blobdiff - include/tgchange.h
wsproc: call rb_clear_cloexec on child fds
[solanum.git] / include / tgchange.h
index e3e4fcce27d0ed645a1b5552659edf2bacf2c1d4..9504c96390bc7d58a32115c3a075abf6ccdc53c4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * charybdis: an advanced Internet Relay Chat Daemon(ircd).
+ * Solanum: a slightly advanced ircd
  *
  * Copyright (C) 2004-2005 Lee Hardy <lee@leeh.co.uk>
  * Copyright (C) 2005-2010 Jilles Tjoelker <jilles@stack.nl>
 #define INCLUDED_tgchange_h
 
 #include "ircd_defs.h"
+#include "client.h"
+#include "channel.h"
 
 /* finds a channel where source_p has op or voice and target_p is a member */
 struct Channel *find_allowing_channel(struct Client *source_p, struct Client *target_p);
 /* checks if source_p is allowed to send to target_p */
 int add_target(struct Client *source_p, struct Client *target_p);
+/* checks if source_p is allowed to send to chptr */
+int add_channel_target(struct Client *source_p, struct Channel *chptr);
 /* allows source_p to send to target_p */
 void add_reply_target(struct Client *source_p, struct Client *target_p);