aboutsummaryrefslogtreecommitdiff
path: root/src/gns/plugin_block_gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/plugin_block_gns.c')
-rw-r--r--src/gns/plugin_block_gns.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gns/plugin_block_gns.c b/src/gns/plugin_block_gns.c
index 5d986ce98..ba1fd56e1 100644
--- a/src/gns/plugin_block_gns.c
+++ b/src/gns/plugin_block_gns.c
@@ -56,18 +56,18 @@
56 */ 56 */
57static enum GNUNET_BLOCK_EvaluationResult 57static enum GNUNET_BLOCK_EvaluationResult
58block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type, 58block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
59 const GNUNET_HashCode * query, 59 const struct GNUNET_HashCode * query,
60 struct GNUNET_CONTAINER_BloomFilter **bf, 60 struct GNUNET_CONTAINER_BloomFilter **bf,
61 int32_t bf_mutator, const void *xquery, 61 int32_t bf_mutator, const void *xquery,
62 size_t xquery_size, const void *reply_block, 62 size_t xquery_size, const void *reply_block,
63 size_t reply_block_size) 63 size_t reply_block_size)
64{ 64{
65 char* name; 65 char* name;
66 GNUNET_HashCode pkey_hash_double; 66 struct GNUNET_HashCode pkey_hash_double;
67 GNUNET_HashCode query_key; 67 struct GNUNET_HashCode query_key;
68 GNUNET_HashCode name_hash_double; 68 struct GNUNET_HashCode name_hash_double;
69 GNUNET_HashCode mhash; 69 struct GNUNET_HashCode mhash;
70 GNUNET_HashCode chash; 70 struct GNUNET_HashCode chash;
71 struct GNUNET_CRYPTO_ShortHashCode pkey_hash; 71 struct GNUNET_CRYPTO_ShortHashCode pkey_hash;
72 struct GNUNET_CRYPTO_ShortHashCode name_hash; 72 struct GNUNET_CRYPTO_ShortHashCode name_hash;
73 struct GNSNameRecordBlock *nrb; 73 struct GNSNameRecordBlock *nrb;
@@ -218,14 +218,14 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
218static int 218static int
219block_plugin_gns_get_key (void *cls, enum GNUNET_BLOCK_Type type, 219block_plugin_gns_get_key (void *cls, enum GNUNET_BLOCK_Type type,
220 const void *block, size_t block_size, 220 const void *block, size_t block_size,
221 GNUNET_HashCode * key) 221 struct GNUNET_HashCode * key)
222{ 222{
223 if (type != GNUNET_BLOCK_TYPE_GNS_NAMERECORD) 223 if (type != GNUNET_BLOCK_TYPE_GNS_NAMERECORD)
224 return GNUNET_SYSERR; 224 return GNUNET_SYSERR;
225 struct GNUNET_CRYPTO_ShortHashCode name_hash; 225 struct GNUNET_CRYPTO_ShortHashCode name_hash;
226 struct GNUNET_CRYPTO_ShortHashCode pkey_hash; 226 struct GNUNET_CRYPTO_ShortHashCode pkey_hash;
227 GNUNET_HashCode name_hash_double; 227 struct GNUNET_HashCode name_hash_double;
228 GNUNET_HashCode pkey_hash_double; 228 struct GNUNET_HashCode pkey_hash_double;
229 229
230 struct GNSNameRecordBlock *nrb = (struct GNSNameRecordBlock *)block; 230 struct GNSNameRecordBlock *nrb = (struct GNSNameRecordBlock *)block;
231 231