summaryrefslogtreecommitdiff
path: root/src/core/wee-config-file.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-02-21 21:31:46 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-02-21 21:31:46 +0100
commita708f9f81397e5d9e8a066cc74b2103f4cfc2178 (patch)
tree42327f4ee7a2b7a445add14441f61f2cbdbf5b58 /src/core/wee-config-file.h
parentafdee2d9194bced6af912daefb91895890a1fefd (diff)
downloadweechat-a708f9f81397e5d9e8a066cc74b2103f4cfc2178.zip
Add missing config functions in script plugin API to free sections and options
Diffstat (limited to 'src/core/wee-config-file.h')
-rw-r--r--src/core/wee-config-file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-config-file.h b/src/core/wee-config-file.h
index eb35e0c60..3aa3c7be2 100644
--- a/src/core/wee-config-file.h
+++ b/src/core/wee-config-file.h
@@ -59,6 +59,7 @@ struct t_config_file
struct t_config_section
{
+ struct t_config_file *config_file; /* configuration file */
char *name; /* section name */
int user_can_add_options; /* user can add with /set ? */
int user_can_delete_options; /* user can del with /unset ? */
@@ -242,8 +243,7 @@ extern int config_file_read (struct t_config_file *config_file);
extern int config_file_reload (struct t_config_file *config_file);
extern void config_file_option_free (struct t_config_option *option);
extern void config_file_section_free_options (struct t_config_section *section);
-extern void config_file_section_free (struct t_config_file *config_file,
- struct t_config_section *section);
+extern void config_file_section_free (struct t_config_section *section);
extern void config_file_free (struct t_config_file *config_file);
extern void config_file_free_all ();
extern void config_file_free_all_plugin (struct t_weechat_plugin *plugin);