Export dcc_chat_socketread() and dcc_send_socketread() callbacks to modules

The idea here is that if you have a module which implements a new DCC type that is essentially
a lightly-modified version of CHAT or SEND you can reuse these functions.
This commit is contained in:
Kevin Easton
2017-12-20 17:36:05 +11:00
parent a55feeef5f
commit d7688075b6
6 changed files with 15 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
* if we change the table below, we change this module number to the
* current date (YYYYMMDDxx where xx is a serial number).
*/
#define MODULE_VERSION 2017120602UL
#define MODULE_VERSION 2017122001UL
#include "struct.h"
@@ -585,6 +585,8 @@ enum FUNCTION_VALUE
ADD_TO_QUEUE,
DCC_FILESEND,
DCC_RESEND,
DCC_CHAT_SOCKETREAD,
DCC_SEND_SOCKETREAD,
/* who.c */
WHOBASE,