diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-12 19:07:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-12 19:07:40 +0000 |
commit | 6c471eeb15e27f8226492b4860a3c2acb94c5f25 (patch) | |
tree | a3a9dcba12ee5356c03056c10b7aba5367b2ef34 /src/datastore/test_datastore_api_management.c | |
parent | 16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff) | |
download | gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip |
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/datastore/test_datastore_api_management.c')
-rw-r--r-- | src/datastore/test_datastore_api_management.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/test_datastore_api_management.c b/src/datastore/test_datastore_api_management.c index bbb954304..4766c03eb 100644 --- a/src/datastore/test_datastore_api_management.c +++ b/src/datastore/test_datastore_api_management.c | |||
@@ -51,7 +51,7 @@ enum RunPhase | |||
51 | 51 | ||
52 | struct CpsRunContext | 52 | struct CpsRunContext |
53 | { | 53 | { |
54 | GNUNET_HashCode key; | 54 | struct GNUNET_HashCode key; |
55 | int i; | 55 | int i; |
56 | int found; | 56 | int found; |
57 | const struct GNUNET_CONFIGURATION_Handle *cfg; | 57 | const struct GNUNET_CONFIGURATION_Handle *cfg; |
@@ -138,7 +138,7 @@ check_success (void *cls, int success, struct GNUNET_TIME_Absolute min_expiratio | |||
138 | 138 | ||
139 | 139 | ||
140 | static void | 140 | static void |
141 | check_value (void *cls, const GNUNET_HashCode * key, size_t size, | 141 | check_value (void *cls, const struct GNUNET_HashCode * key, size_t size, |
142 | const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, | 142 | const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, |
143 | uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, | 143 | uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, |
144 | uint64_t uid) | 144 | uint64_t uid) |
@@ -170,7 +170,7 @@ check_value (void *cls, const GNUNET_HashCode * key, size_t size, | |||
170 | 170 | ||
171 | 171 | ||
172 | static void | 172 | static void |
173 | check_nothing (void *cls, const GNUNET_HashCode * key, size_t size, | 173 | check_nothing (void *cls, const struct GNUNET_HashCode * key, size_t size, |
174 | const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, | 174 | const void *data, enum GNUNET_BLOCK_Type type, uint32_t priority, |
175 | uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, | 175 | uint32_t anonymity, struct GNUNET_TIME_Absolute expiration, |
176 | uint64_t uid) | 176 | uint64_t uid) |
@@ -262,7 +262,7 @@ run (void *cls, | |||
262 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 262 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
263 | { | 263 | { |
264 | struct CpsRunContext *crc; | 264 | struct CpsRunContext *crc; |
265 | static GNUNET_HashCode zkey; | 265 | static struct GNUNET_HashCode zkey; |
266 | 266 | ||
267 | crc = GNUNET_malloc (sizeof (struct CpsRunContext)); | 267 | crc = GNUNET_malloc (sizeof (struct CpsRunContext)); |
268 | crc->cfg = cfg; | 268 | crc->cfg = cfg; |