aboutsummaryrefslogtreecommitdiff
path: root/src/block/plugin_block_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-12 19:07:40 +0000
commit6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch)
treea3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/block/plugin_block_test.c
parent16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff)
downloadgnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz
gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/block/plugin_block_test.c')
-rw-r--r--src/block/plugin_block_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c
index 81e80e3ad..e6b4f4960 100644
--- a/src/block/plugin_block_test.c
+++ b/src/block/plugin_block_test.c
@@ -54,14 +54,14 @@
54 */ 54 */
55static enum GNUNET_BLOCK_EvaluationResult 55static enum GNUNET_BLOCK_EvaluationResult
56block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type, 56block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
57 const GNUNET_HashCode * query, 57 const struct GNUNET_HashCode * query,
58 struct GNUNET_CONTAINER_BloomFilter **bf, 58 struct GNUNET_CONTAINER_BloomFilter **bf,
59 int32_t bf_mutator, const void *xquery, 59 int32_t bf_mutator, const void *xquery,
60 size_t xquery_size, const void *reply_block, 60 size_t xquery_size, const void *reply_block,
61 size_t reply_block_size) 61 size_t reply_block_size)
62{ 62{
63 GNUNET_HashCode chash; 63 struct GNUNET_HashCode chash;
64 GNUNET_HashCode mhash; 64 struct GNUNET_HashCode mhash;
65 65
66 if (type != GNUNET_BLOCK_TYPE_TEST) 66 if (type != GNUNET_BLOCK_TYPE_TEST)
67 return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED; 67 return GNUNET_BLOCK_EVALUATION_TYPE_NOT_SUPPORTED;
@@ -106,7 +106,7 @@ block_plugin_test_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
106static int 106static int
107block_plugin_test_get_key (void *cls, enum GNUNET_BLOCK_Type type, 107block_plugin_test_get_key (void *cls, enum GNUNET_BLOCK_Type type,
108 const void *block, size_t block_size, 108 const void *block, size_t block_size,
109 GNUNET_HashCode * key) 109 struct GNUNET_HashCode * key)
110{ 110{
111 /* always fails since there is no fixed relationship between 111 /* always fails since there is no fixed relationship between
112 * keys and values for test values */ 112 * keys and values for test values */