0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-28 13:28:41 +02:00
construct/include
William Pitcock ca4c2a86ee Add support for hookifying PRIVMSG/NOTICE.
This will allow us to modularize message processing, e.g. having new modules to manipulate
channel and private messages in new ways.

Yes: it can be used to intercept messages, but such modules are already out in the wild for
charybdis anyway -- so this doesn't really change anything there.

If you are changing the text, then it is your responsibility to provide a pointer to a new
buffer.  This buffer should be statically allocated and stored in your module's BSS segment.
We will not, and cannot, free your buffer in core, so dynamically allocated buffers will
cause a memory leak.

This will allow us to simplify m_message considerably, by moving channel mode logic out to
their own modules.
2012-03-31 21:23:01 -05:00
..
inline strip_colour: Prefer IsDigit to isdigit. 2012-03-15 00:58:56 +01:00
.indent.pro [svn] - the new plan: 2007-01-24 22:40:21 -08:00
bandbi.h Add bandb IRCd APIs. 2010-01-07 17:10:16 -06:00
blacklist.h Support IPv6 blacklists. Also add a conf file option allowing the use of IPv4, IPv6, or both for a blacklist. 2011-02-27 16:38:05 -05:00
cache.h Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
capability.h capability: add capability_index_stats() for getting statistics about the capability broker system 2012-02-04 21:27:43 -06:00
channel.h Add one more const. 2012-01-08 16:25:34 +01:00
chmode.h chmode: Remove chm_regonly, a vestige from ratbox which doesn't apply to native charybdis networks. 2010-12-06 22:46:37 -06:00
class.h Split cidr_bitlen into cidr_ipv4_bitlen and cidr_ipv6_bitlen. 2008-11-30 13:31:59 +01:00
client.h Add option to immediately apply nick RESVs by FNC'ing. 2012-03-25 01:34:45 +00:00
common.h Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
config.h Add explicit support for being installed into a system triggered with --enable-fhs-paths. 2012-03-01 02:41:09 +00:00
config.h.dist Remove all the DEFINE's and the random places they were used for the .conf-based ban stuff. 2010-12-04 17:26:14 -05:00
defaults.h Much clear maxconnections stuff - ported from ratbox3. 2008-04-05 23:56:15 +04:00
hash.h Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
hook.h Add support for hookifying PRIVMSG/NOTICE. 2012-03-31 21:23:01 -05:00
hostmask.h PASS selector:password for auth{}, based on spb's patch for ircd-seven 2008-06-26 10:18:58 +04:00
ipv4_from_ipv6.h Add code to get IPv4 addresses from 6to4 and Teredo IPv6 addresses. 2012-01-08 15:51:44 +01:00
irc_dictionary.h Fix various compiler warnings. 2008-04-20 15:20:10 +02:00
ircd.h Removed SystemTime declaration 2008-06-28 14:38:27 +04:00
ircd_defs.h Revert all presence-related changes 2009-12-08 19:22:55 +00:00
ircd_getopt.h [svn] - the new plan: 2007-01-24 22:40:21 -08:00
ircd_linker.h [svn] - the new plan: 2007-01-24 22:40:21 -08:00
ircd_signal.h [svn] - the new plan: 2007-01-24 22:40:21 -08:00
listener.h Add listen::defer_accept option for controlling usage of TCP_DEFER_ACCEPT option. 2012-03-17 10:00:39 -05:00
logger.h Store the creation time of klines and dlines as a time_t instead of as text. 2010-02-28 00:46:56 +01:00
m_info.h Remove all the DEFINE's and the random places they were used for the .conf-based ban stuff. 2010-12-04 17:26:14 -05:00
match.h irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
modules.h Prefer PATH_MAX to non-standard MAXPATHLEN. 2011-10-28 16:45:18 +02:00
monitor.h Remove ^M on line endings. 2008-04-13 17:54:23 +02:00
msg.h Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
newconf.h Removed unneeded includes from newconf.h 2008-07-28 23:14:51 +04:00
numeric.h numeric: reserve RPL_SASLMECHS (908) 2012-02-21 09:15:15 -06:00
operhash.h Make struct operhash_entry private. 2010-03-01 01:24:00 +01:00
packet.h Minor cleanup to command throttling code: 2011-10-04 00:46:00 +02:00
parse.h libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
patchlevel.h configure: Add --with-custom-branding and --with-custom-version options. 2011-05-08 08:55:32 -05:00
privilege.h Don't suggest putting values in an enum that are not in the enum. 2009-01-28 01:02:34 +01:00
ratelimit.h Add ratelimit for high-bandwidth commands. 2012-02-18 03:54:44 +00:00
reject.h Allow /rehash throttles to clear throttling. 2009-03-07 01:49:09 +01:00
res.h irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
reslib.h Allow the resolver to process longer hostnames, 2008-11-15 16:13:39 +01:00
restart.h [svn] - the new plan: 2007-01-24 22:40:21 -08:00
s_auth.h Clean up s_auth a little. No functional changes. 2008-06-21 00:58:08 +02:00
s_conf.h Add option to immediately apply nick RESVs by FNC'ing. 2012-03-25 01:34:45 +00:00
s_newconf.h Add support for linking using SSL certificate fingerprints as the link credential rather than the traditional server-password pair. 2010-12-13 23:14:00 -06:00
s_serv.h Migrate capability negotiation code to new dynamic capability management API. 2012-02-04 01:47:46 -06:00
s_stats.h Add ratelimit for high-bandwidth commands. 2012-02-18 03:54:44 +00:00
s_user.h Make the format argument of change_nick_user_host() const. 2008-04-08 18:54:58 +02:00
scache.h Show opers a list of recently (<24hrs) split servers in /map. 2007-11-23 23:38:54 +01:00
send.h Apply extended-join client cap to QJM joins 2011-11-12 14:41:01 +00:00
setup.h.in Run autoconf and autoheader. 2012-03-01 03:49:35 +00:00
snomask.h [svn] - the new plan: 2007-01-24 22:40:21 -08:00
sslproc.h add missing file 2008-04-06 11:31:46 -05:00
stdinc.h Revert all presence-related changes 2009-12-08 19:22:55 +00:00
substitution.h libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
supported.h Make change_isupport() return the old value!!! 2008-08-29 15:36:41 -05:00
tgchange.h Add target change for channels. 2010-08-29 01:26:00 +02:00
whowas.h Show the services login name in WHOWAS. 2010-08-29 22:30:54 +02:00