diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-22 14:57:03 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-22 14:57:03 +0100 |
commit | fc9211cf8dea975503e28d1cba6a625fe9464e81 (patch) | |
tree | f53976bbc904fd16a7a4311e110d27d0d8806c95 /src/util.h | |
parent | 05d349875b7b475359c779997464c2589979e545 (diff) | |
download | rspamd-fc9211cf8dea975503e28d1cba6a625fe9464e81.tar.gz rspamd-fc9211cf8dea975503e28d1cba6a625fe9464e81.zip |
Add ability to sign configs using rspamd.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 10 |
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 |