aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-04 18:44:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-04 18:44:18 +0000
commit8d5360b2f8dbff3a314f686c71c5973911726f06 (patch)
tree6f60b32cf5a487e768f4c1f8fa0a79041e1f3f2e /src/plugins/regexp.c
parent67a21e3c3c5ab482d45e3532d4ceae4b132f9ff7 (diff)
downloadrspamd-8d5360b2f8dbff3a314f686c71c5973911726f06.tar.gz
rspamd-8d5360b2f8dbff3a314f686c71c5973911726f06.zip
Add 'required' and 'default' values for doc strings
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index ddabe672e..566136bf0 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -102,9 +102,15 @@ 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,
+ rspamd_rcl_add_doc_by_path (cfg,
+ NULL,
"Regular expressions rules plugin",
- "regexp", UCL_OBJECT, NULL, 0);
+ "regexp",
+ UCL_OBJECT,
+ NULL,
+ 0,
+ NULL,
+ 0);
rspamd_rcl_add_doc_by_path (cfg,
"regexp",
@@ -112,6 +118,8 @@ regexp_module_init (struct rspamd_config *cfg, struct module_ctx **ctx)
"max_size",
UCL_INT,
NULL,
+ 0,
+ NULL,
0);
return 0;