diff options
author | NotZed <NotZed@HelixCode.com> | 2000-05-16 08:52:51 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-16 08:52:51 +0800 |
commit | 8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816 (patch) | |
tree | 72bbb8c6b70141f57b4be10439e430465f084d61 /filter/filter-xml.h | |
parent | eb1d5f12ab841a754c3e226f5b114da079cb1aef (diff) | |
download | gsoc2013-evolution-8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816.tar gsoc2013-evolution-8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816.tar.gz gsoc2013-evolution-8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816.tar.bz2 gsoc2013-evolution-8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816.tar.lz gsoc2013-evolution-8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816.tar.xz gsoc2013-evolution-8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816.tar.zst gsoc2013-evolution-8d95e8c29eef49a9ec7db5d129cd5cf18cfc3816.zip |
Bunch of cleanup.
2000-05-15 NotZed <NotZed@HelixCode.com>
* filter-xml.[ch]: Bunch of cleanup.
* filter-xml.c (filter_*_file): New interfaces to read/write files
directly, rather than messing with xmldoc crap.
svn path=/trunk/; revision=3051
Diffstat (limited to 'filter/filter-xml.h')
-rw-r--r-- | filter/filter-xml.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/filter/filter-xml.h b/filter/filter-xml.h index a2e0cfada0..ce8a5ffc3a 100644 --- a/filter/filter-xml.h +++ b/filter/filter-xml.h @@ -57,6 +57,14 @@ GList *filter_load_ruleset(xmlDocPtr doc); GList *filter_load_optionset(xmlDocPtr doc, GList *rules); xmlNodePtr filter_write_optionset(xmlDocPtr doc, GList *optionl); +void filter_description_free(GList *descl); +void filter_load_ruleset_free(GList *nodel); +void filter_load_optionset_free(GList *optionl); + +GList *filter_load_ruleset_file(const char *name); +GList *filter_load_optionset_file(const char *name, GList *rules); +int filter_write_optionset_file(const char *name, GList *optionl); + /* callbacks for searching GLists of various types */ int filter_find_rule(struct filter_rule *a, char *name); int filter_find_arg(FilterArg *a, char *name); |