summaryrefslogtreecommitdiff
path: root/gint
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-11-28 13:57:56 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-11-28 14:09:46 +0200
commit6efafc3f28d24b6e31052263d1c8f154049e9f65 (patch)
treede88792b974d1370d6e5ff9828e1dd2fc763bcc0 /gint
parent1528dfded819e3c8ccba459425b0dc18b1f3a722 (diff)
downloadmailutils-6efafc3f28d24b6e31052263d1c8f154049e9f65.tar.gz
mailutils-6efafc3f28d24b6e31052263d1c8f154049e9f65.tar.bz2
sieve: more improvements to the argument/tag runtime access API
* include/mailutils/sieve.h (mu_sieve_handler_t): Change signature: remove args and tags arguments, they are contained in struct mu_sieve_machine now. (mu_sieve_get_comparator) (mu_sieve_relcmpn_t): Change signature. (mu_sieve_tag_lookup,mu_sieve_tag_lookup_untyped): Remove (mu_sieve_get_tag,mu_sieve_get_tag_untyped): New protos. (mu_sieve_value_get_optional): Replace by mu_sieve_get_arg_optional. (mu_sieve_value_get_untyped): Replace by mu_sieve_get_arg_untyped. (mu_sieve_value_get): Replace by mu_sieve_get_arg. All uses changed. * libmu_sieve/sieve-priv.h (mu_sieve_machine): New members: arg_list and tag_list * libmu_sieve/runtime.c (instr_run): Set up identifier, arg_list, and tag_list in mu_sieve_machine_t before calling the handler. Reset them afterward. * libmu_sieve/util.c (mu_sieve_value_get_optional): Replace by mu_sieve_get_arg_optional. (mu_sieve_value_get_untyped): Replace by mu_sieve_get_arg_untyped. (mu_sieve_value_get): Replace by mu_sieve_get_arg. (mu_sieve_tag_lookup): Replace by mu_sieve_get_tag (mu_sieve_tag_lookup_untyped): Replace by mu_sieve_get_tag_untyped
Diffstat (limited to 'gint')
m---------gint0
1 files changed, 0 insertions, 0 deletions
diff --git a/gint b/gint
-Subproject 42f4712085b40173eaea58e14b1a579291a6fe3
+Subproject fd86bf7d44b0c970771830692ae7491447ebe8b

Return to:

Send suggestions and report system problems to the System administrator.