summaryrefslogtreecommitdiff
path: root/src/plugins/weechat-plugin.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-10 17:42:53 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-10 17:42:53 +0100
commit437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f (patch)
treecc89ab5a0aa0d9a7fe280fcac8e72dcf590937eb /src/plugins/weechat-plugin.h
parenta0bf3938f18c275fe585639db7ad9d945e462d94 (diff)
downloadweechat-437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f.zip
api: add integer return code for functions hook_{signal|hsignal}_send
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r--src/plugins/weechat-plugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h
index 87df384aa..38f1f964d 100644
--- a/src/plugins/weechat-plugin.h
+++ b/src/plugins/weechat-plugin.h
@@ -57,7 +57,7 @@ struct timeval;
* please change the date with current one; for a second change at same
* date, increment the 01, otherwise please keep 01.
*/
-#define WEECHAT_PLUGIN_API_VERSION "20140122-01"
+#define WEECHAT_PLUGIN_API_VERSION "20140210-01"
/* macros for defining plugin infos */
#define WEECHAT_PLUGIN_NAME(__name) \
@@ -591,16 +591,16 @@ struct t_weechat_plugin
const char *type_data,
void *signal_data),
void *callback_data);
- void (*hook_signal_send) (const char *signal, const char *type_data,
- void *signal_data);
+ int (*hook_signal_send) (const char *signal, const char *type_data,
+ void *signal_data);
struct t_hook *(*hook_hsignal) (struct t_weechat_plugin *plugin,
const char *signal,
int (*callback)(void *data,
const char *signal,
struct t_hashtable *hashtable),
void *callback_data);
- void (*hook_hsignal_send) (const char *signal,
- struct t_hashtable *hashtable);
+ int (*hook_hsignal_send) (const char *signal,
+ struct t_hashtable *hashtable);
struct t_hook *(*hook_config) (struct t_weechat_plugin *plugin,
const char *option,
int (*callback)(void *data,