Commit 9106fc88 9106fc888e53df185181554a82d3fd1131755685 by Sergey Poznyakoff

Bugfix

* include/mailutils/libsieve.h (mu_sieve_match_part_checker): New
prototype.
* libsieve/comparator.c (mu_sv_match_part_checker): Rename back to
mu_sieve_match_part_checker.  The function was mistakingly renamed
on 2008-07-19.  All references updated.
* libsieve/tests.c: Likewise.
* libsieve/sieve.h (mu_sv_match_part_checker): Remove prototype.
1 parent ec874886
2008-10-17 Sergey Poznyakoff <gray@gnu.org.ua>
* include/mailutils/libsieve.h (mu_sieve_match_part_checker): New
prototype.
* libsieve/comparator.c (mu_sv_match_part_checker): Rename back to
mu_sieve_match_part_checker. The function was mistakingly renamed
on 2008-07-19. All references updated.
* libsieve/tests.c: Likewise.
* libsieve/sieve.h (mu_sv_match_part_checker): Remove prototype.
* doc/texinfo/programs.texi: Update.
2008-10-16 Sergey Poznyakoff <gray@gnu.org.ua>
......
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2005,
2006, 2007 Free Software Foundation, Inc.
2006, 2007, 2008 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
......@@ -191,7 +191,8 @@ int mu_sieve_tag_lookup (mu_list_t taglist, char *name,
int mu_sieve_load_ext (mu_sieve_machine_t mach, const char *name);
int mu_sieve_match_part_checker (const char *name, mu_list_t tags,
mu_list_t args);
int mu_sieve_match_part_checker (const char *name, mu_list_t tags,
mu_list_t args);
/* Operations in value lists */
mu_sieve_value_t *mu_sieve_value_get (mu_list_t vlist, size_t index);
int mu_sieve_vlist_do (mu_sieve_value_t * val, mu_list_action_t * ac,
......
......@@ -206,7 +206,7 @@ comp_false (const char *pattern, const char *text)
}
int
mu_sv_match_part_checker (const char *name, mu_list_t tags, mu_list_t args)
mu_sieve_match_part_checker (const char *name, mu_list_t tags, mu_list_t args)
{
mu_iterator_t itr;
mu_sieve_runtime_tag_t *match = NULL;
......
......@@ -130,8 +130,5 @@ void _mu_sv_instr_nop (mu_sieve_machine_t mach);
void _mu_sv_instr_source (mu_sieve_machine_t mach);
void _mu_sv_instr_line (mu_sieve_machine_t mach);
int mu_sv_match_part_checker (const char *name, mu_list_t tags,
mu_list_t args);
int mu_sv_load_add_path (mu_list_t path);
int mu_sv_load_add_dir (mu_sieve_machine_t mach, const char *name);
......
......@@ -407,7 +407,7 @@ static mu_sieve_tag_def_t mime_tags[] = {
{ address_part_tags, NULL }
#define MATCH_PART_GROUP \
{ match_part_tags, mu_sv_match_part_checker }
{ match_part_tags, mu_sieve_match_part_checker }
#define SIZE_GROUP { size_tags, NULL }
......