aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-09 21:17:57 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-09 21:17:57 +0000
commit0710f3c93cb530bb52274e501002c2a3c6254080 (patch)
tree56e08e1fb8fe408ee228230ba37fc48525498f60 /src/util.h
parent2e6ede7291931e9ef53debca53dfe83986836ee2 (diff)
downloadrspamd-0710f3c93cb530bb52274e501002c2a3c6254080.tar.gz
rspamd-0710f3c93cb530bb52274e501002c2a3c6254080.zip
Move PRNG seeding function to the util set.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/util.h b/src/util.h
index f2b7132af..4edf5cb95 100644
--- a/src/util.h
+++ b/src/util.h
@@ -440,16 +440,8 @@ time_t parse_http_date (const gchar *header, gsize len);
gint rspamd_read_passphrase (gchar *buf, gint size, gint rwflag, gpointer key);
/**
- * Expand path that may contain configuration variables:
- * $CONFDIR - configuration directory
- * $RUNDIR - local states directory
- * $DBDIR - databases dir
- * $LOGDIR - logs dir
- * $PLUGINSDIR - plugins dir
- * $PREFIX - installation prefix
- * $VERSION - rspamd version
- * @param pool to use
- * @param path path to expand
+ * Seed glib prng using openssl if possible
*/
+void rspamd_prng_seed (void);
#endif