diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-02-21 21:31:46 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-02-21 21:31:46 +0100 |
commit | a708f9f81397e5d9e8a066cc74b2103f4cfc2178 (patch) | |
tree | 42327f4ee7a2b7a445add14441f61f2cbdbf5b58 /src/plugins/scripts/script-api.h | |
parent | afdee2d9194bced6af912daefb91895890a1fefd (diff) | |
download | weechat-a708f9f81397e5d9e8a066cc74b2103f4cfc2178.zip |
Add missing config functions in script plugin API to free sections and options
Diffstat (limited to 'src/plugins/scripts/script-api.h')
-rw-r--r-- | src/plugins/scripts/script-api.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/scripts/script-api.h b/src/plugins/scripts/script-api.h index b91296d4d..6375e4ded 100644 --- a/src/plugins/scripts/script-api.h +++ b/src/plugins/scripts/script-api.h @@ -80,6 +80,15 @@ extern struct t_config_option *script_api_config_new_option (struct t_weechat_pl void (*callback_delete)(void *data, struct t_config_option *option), const char *function_delete); +extern void script_api_config_option_free (struct t_weechat_plugin *weechat_plugin, + struct t_plugin_script *script, + struct t_config_option *option); +extern void script_api_config_section_free_options (struct t_weechat_plugin *weechat_plugin, + struct t_plugin_script *script, + struct t_config_section *section); +extern void script_api_config_section_free (struct t_weechat_plugin *weechat_plugin, + struct t_plugin_script *script, + struct t_config_section *section); extern void script_api_config_free (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script *script, struct t_config_file *config_file); |