aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_expressions.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-15 12:27:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-15 12:27:14 +0000
commita8fb3a3f5f2bc1847f583ffc969b82708bfccc98 (patch)
tree47a925480b8ba6de37b624a9ec67fc1a351edb20 /src/libmime/mime_expressions.h
parentb28a5df9446c5e5ed71a51a71bab2b6e108e91c2 (diff)
downloadrspamd-a8fb3a3f5f2bc1847f583ffc969b82708bfccc98.tar.gz
rspamd-a8fb3a3f5f2bc1847f583ffc969b82708bfccc98.zip
[Feature] Regexp: Allow local lua functions in Rspamd regexp module
Diffstat (limited to 'src/libmime/mime_expressions.h')
-rw-r--r--src/libmime/mime_expressions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libmime/mime_expressions.h b/src/libmime/mime_expressions.h
index 834f1983f..2677b9968 100644
--- a/src/libmime/mime_expressions.h
+++ b/src/libmime/mime_expressions.h
@@ -8,8 +8,15 @@
#include "config.h"
#include "expression.h"
+#include "contrib/libucl/ucl.h"
struct rspamd_task;
+struct rspamd_config;
+
+struct rspamd_mime_expr_ud {
+ struct rspamd_config *cfg;
+ const ucl_object_t *conf_obj;
+};
extern const struct rspamd_atom_subr mime_expr_subr;