summaryrefslogtreecommitdiff
path: root/src/core/wee-config-file.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-03 18:03:10 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-03 18:03:10 +0100
commit2888d41425afc7e38238533a95930cf0f46cc10c (patch)
tree8364be89c534411d08ecb9f291f1d4d64d28e6f4 /src/core/wee-config-file.h
parente0826e1ce7bcff9c0404da0f2fac05b7224aad2c (diff)
downloadweechat-2888d41425afc7e38238533a95930cf0f46cc10c.zip
Added alias plugin, added missing config file functions in plugins API
Diffstat (limited to 'src/core/wee-config-file.h')
-rw-r--r--src/core/wee-config-file.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/wee-config-file.h b/src/core/wee-config-file.h
index b0e852452..2fac140b3 100644
--- a/src/core/wee-config-file.h
+++ b/src/core/wee-config-file.h
@@ -85,6 +85,7 @@ struct t_config_option
};
extern struct t_config_file *config_file_new (void *, char *);
+extern int config_file_valid_for_plugin (void *, struct t_config_file *);
extern struct t_config_section *config_file_new_section (struct t_config_file *,
char *,
void (*)(void *, char *, char *),
@@ -126,6 +127,12 @@ extern int config_file_read (struct t_config_file *);
extern int config_file_reload (struct t_config_file *);
extern void config_file_write_line (struct t_config_file *, char *, char *);
extern int config_file_write (struct t_config_file *, int);
+extern void config_file_option_free (struct t_config_section *,
+ struct t_config_option *);
+extern void config_file_section_free (struct t_config_file *,
+ struct t_config_section *);
+extern void config_file_free (struct t_config_file *);
+extern void config_file_free_all ();
extern void config_file_print_stdout (struct t_config_file *);
extern void config_file_print_log ();