Kevin Easton
a2e8e103e0
Modularise handling of DCC offers
...
There's several different types of DCC offers, all of which need slightly
different handling. Previously they were all handled by the monster function
register_dcc_type() - this breaks them out into seperate functions for handling
SEND, RESEND, CHAT and BOT offers, moves common code into static helper
functions and renames the entry point from ctcp.c to handle_dcc_offer().
This will allow adding a way for modules to register DCC offer types that
they're interested in.
This also moves rename_file() from misc.c into dcc.c, where its only user is.
2015-10-28 21:46:38 +11:00
..
2008-02-25 09:49:14 +00:00
2012-02-17 13:11:03 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2014-11-03 10:32:21 +00:00
2015-06-20 00:03:15 +10:00
2015-06-16 13:23:36 +10:00
2014-10-10 12:56:09 +00:00
2008-05-07 11:07:31 +00:00
2015-10-28 21:46:38 +11:00
2008-02-25 09:25:32 +00:00
2015-06-27 23:18:38 +10:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2015-10-28 21:42:33 +11:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2015-06-20 00:03:15 +10:00
2014-11-06 10:44:07 +00:00
2015-06-16 19:06:30 +10:00
2015-06-17 22:50:49 +10:00
2013-11-10 12:00:08 +00:00
2008-02-25 09:25:32 +00:00
2015-09-02 23:39:53 +10:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2015-10-28 21:46:38 +11:00
2010-06-26 08:18:34 +00:00
2015-10-28 21:42:33 +11:00
2014-10-29 14:07:05 +00:00
2010-09-30 13:26:06 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2012-06-02 14:53:37 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2015-06-19 23:12:10 +10:00
2015-10-04 09:06:38 +11:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2015-10-04 09:06:38 +11:00
2015-06-07 00:03:09 +10:00
2015-06-07 00:03:09 +10:00
2008-02-25 09:49:14 +00:00
2015-10-20 23:12:33 +11:00
2015-06-12 15:54:43 +10:00
2008-02-25 09:25:32 +00:00
2009-10-16 12:35:56 +00:00
2008-02-25 09:25:32 +00:00
2008-04-30 13:57:56 +00:00