aboutsummaryrefslogtreecommitdiffstats
path: root/src/filter.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-14 22:20:50 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-14 22:20:50 +0400
commit56b591bcb2c91ab8af7def656f115e2e794a2b8a (patch)
tree47e1100e382e1b5fe104b6f0a357902f1e3c2d34 /src/filter.h
parent32e13585b6bd05acb30b7747f6ce22b94079bbb0 (diff)
downloadrspamd-56b591bcb2c91ab8af7def656f115e2e794a2b8a.tar.gz
rspamd-56b591bcb2c91ab8af7def656f115e2e794a2b8a.zip
* Allow to use other composites inside a composite's expression
Fix for cmake 2.6.
Diffstat (limited to 'src/filter.h')
-rw-r--r--src/filter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/filter.h b/src/filter.h
index 5cd6e4ff2..5dc141af8 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -81,6 +81,14 @@ struct metric_result {
};
/**
+ * Composite structure
+ */
+struct rspamd_composite {
+ struct expression *expr;
+ gint id;
+};
+
+/**
* Process all filters
* @param task worker's task that present message from user
* @return 0 - if there is non-finished tasks and 1 if processing is completed