diff options
Diffstat (limited to 'src/plugins/plugin-script-api.h')
-rw-r--r-- | src/plugins/plugin-script-api.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/plugin-script-api.h b/src/plugins/plugin-script-api.h index 44cf8c179..a69b3435a 100644 --- a/src/plugins/plugin-script-api.h +++ b/src/plugins/plugin-script-api.h @@ -203,6 +203,18 @@ extern struct t_hook *plugin_script_api_hook_process (struct t_weechat_plugin *w const char *err), const char *function, const char *data); +extern struct t_hook *plugin_script_api_hook_url (struct t_weechat_plugin *weechat_plugin, + struct t_plugin_script *script, + const char *url, + struct t_hashtable *options, + int timeout, + int (*callback)(const void *pointer, + void *data, + const char *url, + struct t_hashtable *options, + struct t_hashtable *output), + const char *function, + const char *data); extern struct t_hook *plugin_script_api_hook_connect (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script *script, const char *proxy, |