aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/keypairs_cache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-05 15:49:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-05 15:49:44 +0000
commitcde48c7764ca43bcbf5c7705ec2bb776c1f28839 (patch)
treeec5c4740a7d2ee031ae23aa71d6a52e3f15b8f8a /src/libcryptobox/keypairs_cache.h
parent1e0332c701c7ecc79c8ec2f94b2a2700a47b9133 (diff)
downloadrspamd-cde48c7764ca43bcbf5c7705ec2bb776c1f28839.tar.gz
rspamd-cde48c7764ca43bcbf5c7705ec2bb776c1f28839.zip
Rework keypairs cache
Diffstat (limited to 'src/libcryptobox/keypairs_cache.h')
-rw-r--r--src/libcryptobox/keypairs_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcryptobox/keypairs_cache.h b/src/libcryptobox/keypairs_cache.h
index e52d03cbe..e04a5914b 100644
--- a/src/libcryptobox/keypairs_cache.h
+++ b/src/libcryptobox/keypairs_cache.h
@@ -17,6 +17,7 @@
#define KEYPAIRS_CACHE_H_
#include "config.h"
+#include "keypair.h"
struct rspamd_keypair_cache;
@@ -35,7 +36,8 @@ struct rspamd_keypair_cache * rspamd_keypair_cache_new (guint max_items);
* @param rk remote key
*/
void rspamd_keypair_cache_process (struct rspamd_keypair_cache *c,
- gpointer lk, gpointer rk);
+ struct rspamd_cryptobox_keypair *lk,
+ struct rspamd_cryptobox_keypair_public *rk);
/**
* Destroy old keypair cache