aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_expressions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime/mime_expressions.h')
-rw-r--r--src/libmime/mime_expressions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmime/mime_expressions.h b/src/libmime/mime_expressions.h
index b8a240f3e..ea00bc278 100644
--- a/src/libmime/mime_expressions.h
+++ b/src/libmime/mime_expressions.h
@@ -18,8 +18,9 @@ extern const struct rspamd_atom_subr mime_expr_subr;
*/
struct expression_argument {
enum {
- EXPRESSION_ARGUMENT_NORMAL,
+ EXPRESSION_ARGUMENT_NORMAL = 0,
EXPRESSION_ARGUMENT_BOOL,
+ EXPRESSION_ARGUMENT_REGEXP
} type; /**< type of argument (text or other function) */
void *data; /**< pointer to its data */
};