aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 14:56:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-22 14:56:37 +0100
commit98d22d8bd5da4c7aa427c1a62b05c026f7a202f8 (patch)
tree0a719c4c54e674875b9a314e5baae11715a44626 /src/libserver/cfg_rcl.h
parent75591b77cec803d35447d7636f8719feedd219b7 (diff)
downloadrspamd-98d22d8bd5da4c7aa427c1a62b05c026f7a202f8.tar.gz
rspamd-98d22d8bd5da4c7aa427c1a62b05c026f7a202f8.zip
[Feature] Rework confighelp to load Lua plugins
Diffstat (limited to 'src/libserver/cfg_rcl.h')
-rw-r--r--src/libserver/cfg_rcl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.h b/src/libserver/cfg_rcl.h
index a83e9698f..d1ec26b2b 100644
--- a/src/libserver/cfg_rcl.h
+++ b/src/libserver/cfg_rcl.h
@@ -446,4 +446,15 @@ ucl_object_t *rspamd_rcl_add_doc_by_example (struct rspamd_config *cfg,
const gchar *doc_string,
const gchar *doc_name,
const gchar *example_data, gsize example_len);
+
+/**
+ * Add lua modules path
+ * @param cfg
+ * @param path
+ * @param err
+ * @return
+ */
+gboolean rspamd_rcl_add_lua_plugins_path (struct rspamd_config *cfg,
+ const gchar *path,
+ GError **err);
#endif /* CFG_RCL_H_ */