Add full prototyped declarations for DCC hook function pointers

This commit is contained in:
Kevin Easton
2018-02-08 16:57:41 +11:00
parent d15a738ee9
commit 64ec300d5d

View File

@@ -79,13 +79,14 @@ struct _dcc_types_
char *name;
char *module;
int type;
int (*init_func)();
int (*open_func)();
int (*input)();
int (*output)();
int (*close_func)();
int (*init_func)(const char *, const char *, const char *, const char *, const char *, const char *, unsigned long, unsigned short);
int (*open_func)(int, int, unsigned long, unsigned short);
int (*input)(int, int, char *, int, int);
int (*output)(int, int, char *, int);
int (*close_func)(int, unsigned long, unsigned short);
};
} _dcc_types[] =
struct _dcc_types_ _dcc_types[] =
{
{"<none>", NULL, 0, NULL, NULL, NULL, NULL, NULL},
{"CHAT", NULL, DCC_CHAT, NULL, NULL, NULL, NULL, NULL},