aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'filter/rule-context.h')
-rw-r--r--filter/rule-context.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/filter/rule-context.h b/filter/rule-context.h
index 681ab7a61d..2f54a574f8 100644
--- a/filter/rule-context.h
+++ b/filter/rule-context.h
@@ -41,12 +41,20 @@
typedef struct _RuleContext RuleContext;
typedef struct _RuleContextClass RuleContextClass;
+/* backend capabilities, this is a hack since we don't support nested rules */
+enum {
+ RULE_CONTEXT_GROUPING = 1 << 0,
+ RULE_CONTEXT_THREADING = 1 << 1,
+};
+
struct _RuleContext {
GObject parent_object;
struct _RuleContextPrivate *priv;
char *error; /* string version of error */
+ guint32 flags; /* capability flags */
+
GList *parts;
GList *rules;