aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-xml.h
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-02-22 18:09:07 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-02-22 18:09:07 +0800
commit7c6897ee95e4346e991185c014bcfce003809fd8 (patch)
treeb34cb809263e9641c3311168c43b8977812e91be /filter/filter-xml.h
parent6b21505b40126e00636603c705b771e5c857beef (diff)
downloadgsoc2013-evolution-7c6897ee95e4346e991185c014bcfce003809fd8.tar.gz
gsoc2013-evolution-7c6897ee95e4346e991185c014bcfce003809fd8.tar.zst
gsoc2013-evolution-7c6897ee95e4346e991185c014bcfce003809fd8.zip
New utility functions for working with the internal rule format.
2000-02-22 NotZed <NotZed@HelixCode.com> * filter-xml.c (filter_clone_optionrule): (filter_clone_optionrule_free): (filter_optionrule_new_from_rule): New utility functions for working with the internal rule format. * filter-arg.[ch]: Added new callbacks for editing a single value, and a new editor which shows all items in a list, and allows you to edit them via the single-edit method. This needs some cleanup for some unused/unusable virtual methods (edit_values, write_html?). * Makefile: Add the druid for build. * filter-druid.c: A 'druid' widget for editing a single filter rule. svn path=/trunk/; revision=1901
Diffstat (limited to 'filter/filter-xml.h')
-rw-r--r--filter/filter-xml.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/filter/filter-xml.h b/filter/filter-xml.h
index 1ff353bd20..b5d3255560 100644
--- a/filter/filter-xml.h
+++ b/filter/filter-xml.h
@@ -59,4 +59,9 @@ xmlNodePtr filter_write_optionset(xmlDocPtr doc, GList *optionl);
int filter_find_rule(struct filter_rule *a, char *name);
int filter_find_arg(FilterArg *a, char *name);
+/* utility functions */
+struct filter_optionrule *filter_clone_optionrule(struct filter_optionrule *or);
+void filter_clone_optionrule_free(struct filter_optionrule *or);
+struct filter_optionrule *filter_optionrule_new_from_rule(struct filter_rule *rule);
+
#endif /* ! _FILTER_XML_H */