summaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r--src/cfg_file.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h
index 9dec61bc3..b7deb1ca6 100644
--- a/src/cfg_file.h
+++ b/src/cfg_file.h
@@ -551,6 +551,15 @@ gboolean check_classifier_statfiles (struct classifier_config *cf);
*/
struct classifier_config* find_classifier_conf (struct config_file *cfg, const gchar *name);
+/*
+ * Expand path that may contain configuration variables:
+ * $CONFDIR - configuration directory
+ * $LOCALSTATESDIR - local states directory
+ * $INSTALLPREFIX - installation prefix
+ * $VERSION - rspamd version
+ */
+const gchar* rspamd_expand_path (memory_pool_t *pool, const gchar *path);
+
#endif /* ifdef CFG_FILE_H */
/*
* vi:ts=4