summaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-04 18:09:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-04 18:09:36 +0000
commita6cfb01702a5c03af500acea1e375f46a8bf76dd (patch)
tree66da51513d3124e033153794a131cac82ba22f24 /src/plugins/regexp.c
parent36f5aa8bbcb3f0aaf351bbf12985cd3fddf0ae69 (diff)
downloadrspamd-a6cfb01702a5c03af500acea1e375f46a8bf76dd.tar.gz
rspamd-a6cfb01702a5c03af500acea1e375f46a8bf76dd.zip
Add doc strings for regexp module
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index efee83e35..ddabe672e 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -102,6 +102,18 @@ regexp_module_init (struct rspamd_config *cfg, struct module_ctx **ctx)
*ctx = (struct module_ctx *)regexp_module_ctx;
+ rspamd_rcl_add_doc_by_path (cfg, NULL,
+ "Regular expressions rules plugin",
+ "regexp", UCL_OBJECT, NULL, 0);
+
+ rspamd_rcl_add_doc_by_path (cfg,
+ "regexp",
+ "Maximum size of data chunk scanned with any regexp (further data is truncated)",
+ "max_size",
+ UCL_INT,
+ NULL,
+ 0);
+
return 0;
}