mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
Give file descriptor to callback of hook_fd
This commit is contained in:
@@ -125,7 +125,7 @@ extern struct t_hook *script_api_hook_fd (struct t_weechat_plugin *weechat_plugi
|
||||
struct t_plugin_script *script,
|
||||
int fd, int flag_read,
|
||||
int flag_write, int flag_exception,
|
||||
int (*callback)(void *data),
|
||||
int (*callback)(void *data, int fd),
|
||||
const char *function);
|
||||
extern struct t_hook *script_api_hook_connect (struct t_weechat_plugin *weechat_plugin,
|
||||
struct t_plugin_script *script,
|
||||
|
||||
Reference in New Issue
Block a user