aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-22 14:57:03 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-22 14:57:03 +0100
commitfc9211cf8dea975503e28d1cba6a625fe9464e81 (patch)
treef53976bbc904fd16a7a4311e110d27d0d8806c95 /src/util.h
parent05d349875b7b475359c779997464c2589979e545 (diff)
downloadrspamd-fc9211cf8dea975503e28d1cba6a625fe9464e81.tar.gz
rspamd-fc9211cf8dea975503e28d1cba6a625fe9464e81.zip
Add ability to sign configs using rspamd.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 5fa2eaff9..c95cc5448 100644
--- a/src/util.h
+++ b/src/util.h
@@ -419,4 +419,14 @@ gboolean parse_ipmask_v4 (const char *line, struct in_addr *ina, int *mask);
*/
time_t parse_http_date (const gchar *header, gsize len);
+/**
+ * Read passphrase from tty
+ * @param buf buffer to fill with a password
+ * @param size size of the buffer
+ * @param rwflag unused flag
+ * @param key unused key
+ * @return size of password read
+ */
+gint rspamd_read_passphrase (gchar *buf, gint size, gint rwflag, gpointer key);
+
#endif