diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-19 15:18:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-19 15:18:18 +0000 |
commit | b1abe43bb8842ce4c625036994faf4e7a029b58f (patch) | |
tree | 533fb17ed51695d716721ddc389dc72e83218072 /src/libmime/mime_expressions.h | |
parent | 7975f9e568fd660c74fa21e759b85d3b70d38eb3 (diff) | |
download | rspamd-b1abe43bb8842ce4c625036994faf4e7a029b58f.tar.gz rspamd-b1abe43bb8842ce4c625036994faf4e7a029b58f.zip |
Write atom parser skeleton.
Diffstat (limited to 'src/libmime/mime_expressions.h')
-rw-r--r-- | src/libmime/mime_expressions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmime/mime_expressions.h b/src/libmime/mime_expressions.h index 343e912e8..b8a240f3e 100644 --- a/src/libmime/mime_expressions.h +++ b/src/libmime/mime_expressions.h @@ -7,10 +7,11 @@ #define RSPAMD_EXPRESSIONS_H #include "config.h" -#include <lua.h> +#include "expression.h" struct rspamd_task; -struct rspamd_regexp_element; + +extern const struct rspamd_atom_subr mime_expr_subr; /** * Function's argument @@ -19,7 +20,6 @@ struct expression_argument { enum { EXPRESSION_ARGUMENT_NORMAL, EXPRESSION_ARGUMENT_BOOL, - EXPRESSION_ARGUMENT_EXPR, } type; /**< type of argument (text or other function) */ void *data; /**< pointer to its data */ }; |