summaryrefslogtreecommitdiff
path: root/libsieve
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-15 14:42:29 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-11-15 14:42:29 +0000
commitd60f602a61db3fd954fdf3ba855b432a44a4d222 (patch)
tree1bfa3689809bc7553db9a144f1a095ded1cc4b01 /libsieve
parentcb9ca95a83ec4331ac34a614672eb5fab50f22e0 (diff)
downloadmailutils-d60f602a61db3fd954fdf3ba855b432a44a4d222.tar.gz
mailutils-d60f602a61db3fd954fdf3ba855b432a44a4d222.tar.bz2
(struct sieve_machine): New member destr_list.
(sieve_match_part_checker): New function.
Diffstat (limited to 'libsieve')
-rw-r--r--libsieve/sieve.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libsieve/sieve.h b/libsieve/sieve.h
index 1c7abafe4..9ffdf0b5f 100644
--- a/libsieve/sieve.h
+++ b/libsieve/sieve.h
@@ -36,7 +36,8 @@ struct sieve_machine {
/* Static data */
char *filename; /* Name of the source script */
list_t memory_pool; /* Pool of allocated memory objects */
-
+ list_t destr_list; /* List of destructor functions */
+
size_t progsize; /* Number of allocated program cells */
sieve_op_t *prog; /* Compiled program */
@@ -124,3 +125,5 @@ void instr_brz __P((sieve_machine_t mach));
int sieve_mark_deleted __P((message_t msg, int deleted));
int sieve_require_comparator __P((const char *name));
+
+int sieve_match_part_checker __P((const char *name, list_t tags, list_t args));

Return to:

Send suggestions and report system problems to the System administrator.