Add full prototyped declarations for DCC hook function pointers
This commit is contained in:
13
source/dcc.c
13
source/dcc.c
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user