From: Christian Grothoff Date: Sat, 18 Sep 2010 04:48:47 +0000 (+0000) Subject: api X-Git-Tag: initial-import-from-subversion-38251~20305 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=16a9103e5ae9bfc4065a84bb990421694c39d123;p=oweals%2Fgnunet.git api --- diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h index 7d06d592f..5154a3c08 100644 --- a/src/include/gnunet_block_lib.h +++ b/src/include/gnunet_block_lib.h @@ -135,6 +135,19 @@ enum GNUNET_BLOCK_EvaluationResult struct GNUNET_BLOCK_Context; +/** + * Mingle hash with the mingle_number to produce different bits. + * + * @param in original hash code + * @param mingle_number number for hash permutation + * @param hc where to store the result. + */ +void +GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, + int32_t mingle_number, + GNUNET_HashCode * hc); + + /** * Create a block context. Loads the block plugins. *