dovecot-2.0-sieve: Variables extension: finished namespaces supp...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Fri Jan 8 00:58:45 EET 2010
details: http://hg.rename-it.nl/dovecot-2.0-sieve/rev/3cd717577603
changeset: 1187:3cd717577603
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Jan 07 02:56:11 2010 +0100
description:
Variables extension: finished namespaces support.
diffstat:
src/lib-sieve/plugins/variables/ext-variables-namespaces.c | 2 +-
src/lib-sieve/plugins/variables/sieve-ext-variables.h | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 81389f35d988 -r 3cd717577603 src/lib-sieve/plugins/variables/ext-variables-namespaces.c
--- a/src/lib-sieve/plugins/variables/ext-variables-namespaces.c Sun Jan 03 23:25:25 2010 +0100
+++ b/src/lib-sieve/plugins/variables/ext-variables-namespaces.c Thu Jan 07 02:56:11 2010 +0100
@@ -177,7 +177,7 @@
&namespace_variable_interface
};
-void ext_variables_opr_namespace_variable_emit
+void sieve_variables_opr_namespace_variable_emit
(struct sieve_binary *sbin, const struct sieve_extension *var_ext,
const struct sieve_extension *ext,
const struct sieve_variables_namespace_def *nspc_def)
diff -r 81389f35d988 -r 3cd717577603 src/lib-sieve/plugins/variables/sieve-ext-variables.h
--- a/src/lib-sieve/plugins/variables/sieve-ext-variables.h Sun Jan 03 23:25:25 2010 +0100
+++ b/src/lib-sieve/plugins/variables/sieve-ext-variables.h Thu Jan 07 02:56:11 2010 +0100
@@ -103,6 +103,9 @@
const char *field_name);
};
+#define SIEVE_VARIABLES_DEFINE_NAMESPACE(OP) SIEVE_EXT_DEFINE_OBJECT(OP)
+#define SIEVE_VARIABLES_DEFINE_NAMESPACES(OPS) SIEVE_EXT_DEFINE_OBJECTS(OPS)
+
struct sieve_variables_namespace {
struct sieve_object object;
@@ -114,6 +117,13 @@
const struct sieve_extension *ext,
const struct sieve_variables_namespace_def *nspc_def);
+extern const struct sieve_operand_class sieve_variables_namespace_operand_class;
+
+void sieve_variables_opr_namespace_variable_emit
+(struct sieve_binary *sbin, const struct sieve_extension *var_ext,
+ const struct sieve_extension *ext,
+ const struct sieve_variables_namespace_def *nspc_def);
+
/* Iteration over all declared variables */
struct sieve_variable_scope_iter;
More information about the dovecot-cvs
mailing list