diff options
author | NotZed <NotZed@HelixCode.com> | 2000-02-19 09:55:48 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-02-19 09:55:48 +0800 |
commit | ac051f19eea6551b5e8075e30cd00b4f25c9b1cb (patch) | |
tree | a3e0fdb76cd22b3932e772385109677c3c4d56fe /filter/filter-xml.h | |
parent | e72c45d304fb6e538aad8ceb9ce07b1d8c59156f (diff) | |
download | gsoc2013-evolution-ac051f19eea6551b5e8075e30cd00b4f25c9b1cb.tar.gz gsoc2013-evolution-ac051f19eea6551b5e8075e30cd00b4f25c9b1cb.tar.zst gsoc2013-evolution-ac051f19eea6551b5e8075e30cd00b4f25c9b1cb.zip |
Now have loader/save, basic gui elements (which i want
to change), and uh, other stuff i forget right now.
2000-02-18 NotZed <NotZed@HelixCode.com>
* Uh, more changes, lots, its still work in progress.
svn path=/trunk/; revision=1851
Diffstat (limited to 'filter/filter-xml.h')
-rw-r--r-- | filter/filter-xml.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/filter/filter-xml.h b/filter/filter-xml.h index a56b4baa2e..1ff353bd20 100644 --- a/filter/filter-xml.h +++ b/filter/filter-xml.h @@ -2,6 +2,9 @@ #ifndef _FILTER_XML_H #define _FILTER_XML_H +#include <glib.h> +#include <gnome-xml/tree.h> + enum filter_xml_token { FILTER_XML_TEXT=0, FILTER_XML_RULE, @@ -48,4 +51,12 @@ struct filter_option { GList *options; /* option_rule */ }; +GList *filter_load_ruleset(xmlDocPtr doc); +GList *filter_load_optionset(xmlDocPtr doc, GList *rules); +xmlNodePtr filter_write_optionset(xmlDocPtr doc, 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); + #endif /* ! _FILTER_XML_H */ |