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/lockmanager | |
parent | 16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff) | |
download | gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip |
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/lockmanager')
-rw-r--r-- | src/lockmanager/gnunet-service-lockmanager.c | 4 | ||||
-rw-r--r-- | src/lockmanager/lockmanager_api.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lockmanager/gnunet-service-lockmanager.c b/src/lockmanager/gnunet-service-lockmanager.c index 8ec988978..b5126ba20 100644 --- a/src/lockmanager/gnunet-service-lockmanager.c +++ b/src/lockmanager/gnunet-service-lockmanager.c | |||
@@ -229,7 +229,7 @@ get_key (const char *domain_name, | |||
229 | * GNUNET_NO if not. | 229 | * GNUNET_NO if not. |
230 | */ | 230 | */ |
231 | static int | 231 | static int |
232 | match_iterator (void *cls, const GNUNET_HashCode *key, void *value) | 232 | match_iterator (void *cls, const struct GNUNET_HashCode *key, void *value) |
233 | { | 233 | { |
234 | struct LockMatch *match = cls; | 234 | struct LockMatch *match = cls; |
235 | struct Lock *lock = value; | 235 | struct Lock *lock = value; |
@@ -803,7 +803,7 @@ client_disconnect_cb (void *cls, struct GNUNET_SERVER_Client *client) | |||
803 | */ | 803 | */ |
804 | static int | 804 | static int |
805 | lock_delete_iterator (void *cls, | 805 | lock_delete_iterator (void *cls, |
806 | const GNUNET_HashCode * key, | 806 | const struct GNUNET_HashCode * key, |
807 | void *value) | 807 | void *value) |
808 | { | 808 | { |
809 | struct Lock *lock = value; | 809 | struct Lock *lock = value; |
diff --git a/src/lockmanager/lockmanager_api.c b/src/lockmanager/lockmanager_api.c index 99f5ab503..bfc4d1c1a 100644 --- a/src/lockmanager/lockmanager_api.c +++ b/src/lockmanager/lockmanager_api.c | |||
@@ -275,7 +275,7 @@ get_key (const char *domain_name, | |||
275 | * GNUNET_NO if not. | 275 | * GNUNET_NO if not. |
276 | */ | 276 | */ |
277 | static int | 277 | static int |
278 | match_iterator (void *cls, const GNUNET_HashCode *key, void *value) | 278 | match_iterator (void *cls, const struct GNUNET_HashCode *key, void *value) |
279 | { | 279 | { |
280 | struct LockingRequestMatch *match = cls; | 280 | struct LockingRequestMatch *match = cls; |
281 | struct GNUNET_LOCKMANAGER_LockingRequest *lr = value; | 281 | struct GNUNET_LOCKMANAGER_LockingRequest *lr = value; |
@@ -355,7 +355,7 @@ call_status_cb_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
355 | */ | 355 | */ |
356 | static int | 356 | static int |
357 | release_iterator(void *cls, | 357 | release_iterator(void *cls, |
358 | const GNUNET_HashCode * key, | 358 | const struct GNUNET_HashCode * key, |
359 | void *value) | 359 | void *value) |
360 | { | 360 | { |
361 | struct GNUNET_LOCKMANAGER_Handle *h = cls; | 361 | struct GNUNET_LOCKMANAGER_Handle *h = cls; |
@@ -472,7 +472,7 @@ handle_replies (void *cls, | |||
472 | */ | 472 | */ |
473 | static int | 473 | static int |
474 | free_iterator(void *cls, | 474 | free_iterator(void *cls, |
475 | const GNUNET_HashCode * key, | 475 | const struct GNUNET_HashCode * key, |
476 | void *value) | 476 | void *value) |
477 | { | 477 | { |
478 | struct GNUNET_LOCKMANAGER_Handle *h = cls; | 478 | struct GNUNET_LOCKMANAGER_Handle *h = cls; |