diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-02-20 14:53:32 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-02-20 14:53:32 +0100 |
commit | 1b4028218cc6d9e369e73e769228ae05b8611dd1 (patch) | |
tree | e9aab2fb14f545fe170856ad53e32bce1b7134a9 /src/plugins/scripts/script-api.h | |
parent | e3f12be462a37c09549fff4e3652914e81ae41b0 (diff) | |
download | weechat-1b4028218cc6d9e369e73e769228ae05b8611dd1.zip |
Add return code value for config_read callback in script plugins
Diffstat (limited to 'src/plugins/scripts/script-api.h')
-rw-r--r-- | src/plugins/scripts/script-api.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/scripts/script-api.h b/src/plugins/scripts/script-api.h index fd6918cdf..4505098f4 100644 --- a/src/plugins/scripts/script-api.h +++ b/src/plugins/scripts/script-api.h @@ -33,11 +33,11 @@ extern struct t_config_section *script_api_config_new_section (struct t_weechat_ const char *name, int user_can_add_options, int user_can_delete_options, - void (*callback_read)(void *data, - struct t_config_file *config_file, - struct t_config_section *section, - const char *option_name, - const char *value), + int (*callback_read)(void *data, + struct t_config_file *config_file, + struct t_config_section *section, + const char *option_name, + const char *value), const char *function_read, void (*callback_write)(void *data, struct t_config_file *config_file, |