summaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_expressions.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-19 17:19:43 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-19 17:19:43 +0000
commita0b33ff3bab1fa9ef2a24008d63eaeb9b35d79ee (patch)
treec1d7f4e4dbfe82b7e78a6c9a40693f60ae2dfdb4 /src/libmime/mime_expressions.h
parent943734997a929e3d952be693ff7b202a9314680b (diff)
downloadrspamd-a0b33ff3bab1fa9ef2a24008d63eaeb9b35d79ee.tar.gz
rspamd-a0b33ff3bab1fa9ef2a24008d63eaeb9b35d79ee.zip
Implement parsing of internal functions.
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 */
};