Commit 1d874f49 1d874f49faab629a3e858345c78ebdfca0073923 by Sergey Poznyakoff

(mu_sieve_machine_dup,mu_sieve_machine_inherit_report): New functions

1 parent 93919cb0
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 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2000, 2001, 2002, 2005,
3 2006 Free Software Foundation, Inc.
3 4
4 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public 6 modify it under the terms of the GNU Lesser General Public
...@@ -202,6 +203,10 @@ int mu_sieve_vlist_compare (mu_sieve_value_t * a, mu_sieve_value_t * b, ...@@ -202,6 +203,10 @@ int mu_sieve_vlist_compare (mu_sieve_value_t * a, mu_sieve_value_t * b,
202 203
203 /* Functions to create and destroy sieve machine */ 204 /* Functions to create and destroy sieve machine */
204 int mu_sieve_machine_init (mu_sieve_machine_t * mach, void *data); 205 int mu_sieve_machine_init (mu_sieve_machine_t * mach, void *data);
206 int mu_sieve_machine_dup (mu_sieve_machine_t const in,
207 mu_sieve_machine_t *out);
208 void mu_sieve_machine_inherit_report (mu_sieve_machine_t child,
209 mu_sieve_machine_t parent);
205 void mu_sieve_machine_destroy (mu_sieve_machine_t * pmach); 210 void mu_sieve_machine_destroy (mu_sieve_machine_t * pmach);
206 int mu_sieve_machine_add_destructor (mu_sieve_machine_t mach, 211 int mu_sieve_machine_add_destructor (mu_sieve_machine_t mach,
207 mu_sieve_destructor_t destr, void *ptr); 212 mu_sieve_destructor_t destr, void *ptr);
......