1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

Add return code value for config_read callback in script plugins

This commit is contained in:
Sebastien Helleu
2009-02-20 14:53:32 +01:00
parent e3f12be462
commit 1b4028218c
7 changed files with 75 additions and 27 deletions
+5 -5
View File
@@ -100,11 +100,11 @@ script_api_config_new_section (struct t_weechat_plugin *weechat_plugin,
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),
char *function_read,
void (*callback_write)(void *data,
struct t_config_file *config_file,