1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +02:00

Function "hook_signal_send" added to plugin API

This commit is contained in:
Sebastien Helleu
2007-12-13 11:55:50 +01:00
parent 2e74526bb9
commit 70e44d3c54
4 changed files with 19 additions and 0 deletions
+12
View File
@@ -1381,6 +1381,18 @@ plugin_api_hook_signal (struct t_weechat_plugin *plugin, char *signal,
return NULL;
}
/*
* plugin_api_hook_signal_send: send a signal
*/
void
plugin_api_hook_signal_send (struct t_weechat_plugin *plugin, char *signal,
void *pointer)
{
if (plugin && signal && signal[0])
hook_signal_exec (signal, pointer);
}
/*
* plugin_api_hook_config: hook a config option
*/