aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r--src/datastore/test_datastore_api.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index 374067ca0..3f8f87cae 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -119,7 +119,7 @@ enum RunPhase
119 119
120struct CpsRunContext 120struct CpsRunContext
121{ 121{
122 GNUNET_HashCode key; 122 struct GNUNET_HashCode key;
123 int i; 123 int i;
124 int rid; 124 int rid;
125 const struct GNUNET_CONFIGURATION_Handle *cfg; 125 const struct GNUNET_CONFIGURATION_Handle *cfg;
@@ -171,7 +171,7 @@ get_reserved (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration
171 171
172 172
173static void 173static void
174check_value (void *cls, const GNUNET_HashCode * key, size_t size, 174check_value (void *cls, const struct GNUNET_HashCode * key, size_t size,
175 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, 175 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
176 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, 176 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
177 uint64_t uid) 177 uint64_t uid)
@@ -217,7 +217,7 @@ check_value (void *cls, const GNUNET_HashCode * key, size_t size,
217 217
218 218
219static void 219static void
220delete_value (void *cls, const GNUNET_HashCode * key, size_t size, 220delete_value (void *cls, const struct GNUNET_HashCode * key, size_t size,
221 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, 221 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
222 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, 222 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
223 uint64_t uid) 223 uint64_t uid)
@@ -237,7 +237,7 @@ delete_value (void *cls, const GNUNET_HashCode * key, size_t size,
237 237
238 238
239static void 239static void
240check_nothing (void *cls, const GNUNET_HashCode * key, size_t size, 240check_nothing (void *cls, const struct GNUNET_HashCode * key, size_t size,
241 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, 241 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
242 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, 242 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
243 uint64_t uid) 243 uint64_t uid)
@@ -253,7 +253,7 @@ check_nothing (void *cls, const GNUNET_HashCode * key, size_t size,
253 253
254 254
255static void 255static void
256check_multiple (void *cls, const GNUNET_HashCode * key, size_t size, 256check_multiple (void *cls, const struct GNUNET_HashCode * key, size_t size,
257 const void *data, enum GNUNET_BLOCK_Type type, 257 const void *data, enum GNUNET_BLOCK_Type type,
258 uint32_t priority, uint32_t anonymity, 258 uint32_t priority, uint32_t anonymity,
259 struct GNUNET_TIME_Absolute expiration, uint64_t uid) 259 struct GNUNET_TIME_Absolute expiration, uint64_t uid)
@@ -285,7 +285,7 @@ check_multiple (void *cls, const GNUNET_HashCode * key, size_t size,
285 285
286 286
287static void 287static void
288check_update (void *cls, const GNUNET_HashCode * key, size_t size, 288check_update (void *cls, const struct GNUNET_HashCode * key, size_t size,
289 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, 289 const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority,
290 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, 290 uint32_t anonymity, struct GNUNET_TIME_Absolute expiration,
291 uint64_t uid) 291 uint64_t uid)
@@ -467,7 +467,7 @@ run (void *cls,
467 const struct GNUNET_CONFIGURATION_Handle *cfg) 467 const struct GNUNET_CONFIGURATION_Handle *cfg)
468{ 468{
469 struct CpsRunContext *crc; 469 struct CpsRunContext *crc;
470 static GNUNET_HashCode zkey; 470 static struct GNUNET_HashCode zkey;
471 471
472 crc = GNUNET_malloc (sizeof (struct CpsRunContext)); 472 crc = GNUNET_malloc (sizeof (struct CpsRunContext));
473 crc->cfg = cfg; 473 crc->cfg = cfg;