1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +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
@@ -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,