diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-18 04:48:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-18 04:48:47 +0000 |
commit | 16a9103e5ae9bfc4065a84bb990421694c39d123 (patch) | |
tree | f37893629eecbffa388cfb99a123848765c9df0e /src | |
parent | 89e6dd970f89ee558b301774d5b77cd522eccf55 (diff) | |
download | gnunet-16a9103e5ae9bfc4065a84bb990421694c39d123.tar.gz gnunet-16a9103e5ae9bfc4065a84bb990421694c39d123.zip |
api
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_block_lib.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 | |||
@@ -136,6 +136,19 @@ struct GNUNET_BLOCK_Context; | |||
136 | 136 | ||
137 | 137 | ||
138 | /** | 138 | /** |
139 | * Mingle hash with the mingle_number to produce different bits. | ||
140 | * | ||
141 | * @param in original hash code | ||
142 | * @param mingle_number number for hash permutation | ||
143 | * @param hc where to store the result. | ||
144 | */ | ||
145 | void | ||
146 | GNUNET_BLOCK_mingle_hash (const GNUNET_HashCode * in, | ||
147 | int32_t mingle_number, | ||
148 | GNUNET_HashCode * hc); | ||
149 | |||
150 | |||
151 | /** | ||
139 | * Create a block context. Loads the block plugins. | 152 | * Create a block context. Loads the block plugins. |
140 | * | 153 | * |
141 | * @param cfg configuration to use | 154 | * @param cfg configuration to use |