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.
Showing
5 changed files
with
13 additions
and
7 deletions
1 | 2008-10-17 Sergey Poznyakoff <gray@gnu.org.ua> | 1 | 2008-10-17 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 2 | ||
3 | * include/mailutils/libsieve.h (mu_sieve_match_part_checker): New | ||
4 | prototype. | ||
5 | * libsieve/comparator.c (mu_sv_match_part_checker): Rename back to | ||
6 | mu_sieve_match_part_checker. The function was mistakingly renamed | ||
7 | on 2008-07-19. All references updated. | ||
8 | * libsieve/tests.c: Likewise. | ||
9 | * libsieve/sieve.h (mu_sv_match_part_checker): Remove prototype. | ||
10 | |||
3 | * doc/texinfo/programs.texi: Update. | 11 | * doc/texinfo/programs.texi: Update. |
4 | 12 | ||
5 | 2008-10-16 Sergey Poznyakoff <gray@gnu.org.ua> | 13 | 2008-10-16 Sergey Poznyakoff <gray@gnu.org.ua> | ... | ... |
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | 1 | /* GNU Mailutils -- a suite of utilities for electronic mail |
2 | Copyright (C) 1999, 2000, 2001, 2002, 2005, | 2 | Copyright (C) 1999, 2000, 2001, 2002, 2005, |
3 | 2006, 2007 Free Software Foundation, Inc. | 3 | 2006, 2007, 2008 Free Software Foundation, Inc. |
4 | 4 | ||
5 | This library is free software; you can redistribute it and/or | 5 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Lesser General Public | 6 | 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, | ... | @@ -191,7 +191,8 @@ int mu_sieve_tag_lookup (mu_list_t taglist, char *name, |
191 | int mu_sieve_load_ext (mu_sieve_machine_t mach, const char *name); | 191 | int mu_sieve_load_ext (mu_sieve_machine_t mach, const char *name); |
192 | int mu_sieve_match_part_checker (const char *name, mu_list_t tags, | 192 | int mu_sieve_match_part_checker (const char *name, mu_list_t tags, |
193 | mu_list_t args); | 193 | mu_list_t args); |
194 | 194 | int mu_sieve_match_part_checker (const char *name, mu_list_t tags, | |
195 | mu_list_t args); | ||
195 | /* Operations in value lists */ | 196 | /* Operations in value lists */ |
196 | mu_sieve_value_t *mu_sieve_value_get (mu_list_t vlist, size_t index); | 197 | mu_sieve_value_t *mu_sieve_value_get (mu_list_t vlist, size_t index); |
197 | int mu_sieve_vlist_do (mu_sieve_value_t * val, mu_list_action_t * ac, | 198 | 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) | ... | @@ -206,7 +206,7 @@ comp_false (const char *pattern, const char *text) |
206 | } | 206 | } |
207 | 207 | ||
208 | int | 208 | int |
209 | mu_sv_match_part_checker (const char *name, mu_list_t tags, mu_list_t args) | 209 | mu_sieve_match_part_checker (const char *name, mu_list_t tags, mu_list_t args) |
210 | { | 210 | { |
211 | mu_iterator_t itr; | 211 | mu_iterator_t itr; |
212 | mu_sieve_runtime_tag_t *match = NULL; | 212 | mu_sieve_runtime_tag_t *match = NULL; | ... | ... |
... | @@ -130,8 +130,5 @@ void _mu_sv_instr_nop (mu_sieve_machine_t mach); | ... | @@ -130,8 +130,5 @@ void _mu_sv_instr_nop (mu_sieve_machine_t mach); |
130 | void _mu_sv_instr_source (mu_sieve_machine_t mach); | 130 | void _mu_sv_instr_source (mu_sieve_machine_t mach); |
131 | void _mu_sv_instr_line (mu_sieve_machine_t mach); | 131 | void _mu_sv_instr_line (mu_sieve_machine_t mach); |
132 | 132 | ||
133 | int mu_sv_match_part_checker (const char *name, mu_list_t tags, | ||
134 | mu_list_t args); | ||
135 | |||
136 | int mu_sv_load_add_path (mu_list_t path); | 133 | int mu_sv_load_add_path (mu_list_t path); |
137 | int mu_sv_load_add_dir (mu_sieve_machine_t mach, const char *name); | 134 | 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[] = { | ... | @@ -407,7 +407,7 @@ static mu_sieve_tag_def_t mime_tags[] = { |
407 | { address_part_tags, NULL } | 407 | { address_part_tags, NULL } |
408 | 408 | ||
409 | #define MATCH_PART_GROUP \ | 409 | #define MATCH_PART_GROUP \ |
410 | { match_part_tags, mu_sv_match_part_checker } | 410 | { match_part_tags, mu_sieve_match_part_checker } |
411 | 411 | ||
412 | #define SIZE_GROUP { size_tags, NULL } | 412 | #define SIZE_GROUP { size_tags, NULL } |
413 | 413 | ... | ... |
-
Please register or sign in to post a comment