aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-driver.c
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-02-29 02:28:28 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-02-29 02:28:28 +0800
commit838ea91a143578266e3356d856702efd9818806c (patch)
treec11428a1c0934ba418aba7a5d9ec373d53e47d90 /filter/filter-driver.c
parent5c92a18781a5b43ff0534e519b5dbabb09831e88 (diff)
downloadgsoc2013-evolution-838ea91a143578266e3356d856702efd9818806c.tar
gsoc2013-evolution-838ea91a143578266e3356d856702efd9818806c.tar.gz
gsoc2013-evolution-838ea91a143578266e3356d856702efd9818806c.tar.bz2
gsoc2013-evolution-838ea91a143578266e3356d856702efd9818806c.tar.lz
gsoc2013-evolution-838ea91a143578266e3356d856702efd9818806c.tar.xz
gsoc2013-evolution-838ea91a143578266e3356d856702efd9818806c.tar.zst
gsoc2013-evolution-838ea91a143578266e3356d856702efd9818806c.zip
Removed references to filter-sexp.[ch].
2000-02-28 NotZed <NotZed@HelixCode.com> * Makefile: Removed references to filter-sexp.[ch]. * filter-sexp.[ch]: Removed some unecessary includes. Moved to e-util. Renamed callers. svn path=/trunk/; revision=1981
Diffstat (limited to 'filter/filter-driver.c')
-rw-r--r--filter/filter-driver.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index c2759fe9d8..14a82d7177 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -393,8 +393,8 @@ void create_dialogue(void)
int main(int argc, char **argv)
{
- FilterSEXP *f;
- FilterSEXPResult *r;
+ ESExp *f;
+ ESExpResult *r;
GList *rules, *options, *options2;
xmlDocPtr doc, out, optionset, filteroptions;
GString *s;
@@ -448,25 +448,25 @@ int main(int argc, char **argv)
printf("total rule = '%s'\n", s->str);
- f = filter_sexp_new();
- filter_sexp_add_variable(f, 0, "sender", NULL);
- filter_sexp_add_variable(f, 0, "receipient", NULL);
- filter_sexp_add_variable(f, 0, "folder", NULL);
+ f = e_sexp_new();
+ e_sexp_add_variable(f, 0, "sender", NULL);
+ e_sexp_add_variable(f, 0, "receipient", NULL);
+ e_sexp_add_variable(f, 0, "folder", NULL);
/* simple functions */
- filter_sexp_add_function(f, 0, "header-get", NULL, NULL);
- filter_sexp_add_function(f, 0, "header-contains", NULL, NULL);
- filter_sexp_add_function(f, 0, "copy-to", NULL, NULL);
+ e_sexp_add_function(f, 0, "header-get", NULL, NULL);
+ e_sexp_add_function(f, 0, "header-contains", NULL, NULL);
+ e_sexp_add_function(f, 0, "copy-to", NULL, NULL);
- filter_sexp_add_ifunction(f, 0, "set", NULL, NULL);
+ e_sexp_add_ifunction(f, 0, "set", NULL, NULL);
/* control functions */
- filter_sexp_add_ifunction(f, 0, "match-all", NULL, NULL);
- filter_sexp_add_ifunction(f, 0, "match", NULL, NULL);
- filter_sexp_add_ifunction(f, 0, "action", NULL, NULL);
- filter_sexp_add_ifunction(f, 0, "except", NULL, NULL);
+ e_sexp_add_ifunction(f, 0, "match-all", NULL, NULL);
+ e_sexp_add_ifunction(f, 0, "match", NULL, NULL);
+ e_sexp_add_ifunction(f, 0, "action", NULL, NULL);
+ e_sexp_add_ifunction(f, 0, "except", NULL, NULL);
- filter_sexp_input_text(f, s->str, strlen(s->str));
- filter_sexp_parse(f);
+ e_sexp_input_text(f, s->str, strlen(s->str));
+ e_sexp_parse(f);
}