From: Florian Dold Date: Sun, 3 Nov 2013 23:51:22 +0000 (+0000) Subject: typedef for decryption result callback X-Git-Tag: initial-import-from-subversion-38251~6284 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19e97bcb8b445c443808acfc90c950844d5b2a58;p=oweals%2Fgnunet.git typedef for decryption result callback --- diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h index 8006ba293..80ec8f2e8 100644 --- a/src/include/gnunet_secretsharing_service.h +++ b/src/include/gnunet_secretsharing_service.h @@ -115,6 +115,16 @@ typedef void (*GNUNET_SECRETSHARING_SecretReadyCallback) (void *cls, const struct GNUNET_PeerIdentity *ready_peers); +/** + * Called when a decryption has succeeded. + * + * @param cls closure + * @param result decrypted value + */ +typedef void (*GNUNET_SECRETSHARING_DecryptCallback) (void *cls, + gcry_mpi_t result); + + /** * Create a session that will eventually establish a shared secret * with the other peers.