aboutsummaryrefslogtreecommitdiff
path: root/src/topology
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/topology
parent16bcbbea7133fd2265d46bd2ae1dc70e8c9ba96f (diff)
downloadgnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.tar.gz
gnunet-6c471eeb15e27f8226492b4860a3c2acb94c5f25.zip
-consistently use struct GNUNET_HashCode
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 356e2c963..3578b9e9b 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -316,7 +316,7 @@ is_connection_allowed (struct Peer *peer)
316 * @return GNUNET_YES (always: continue to iterate) 316 * @return GNUNET_YES (always: continue to iterate)
317 */ 317 */
318static int 318static int
319free_peer (void *cls, const GNUNET_HashCode * pid, void *value) 319free_peer (void *cls, const struct GNUNET_HashCode * pid, void *value)
320{ 320{
321 struct Peer *pos = value; 321 struct Peer *pos = value;
322 322
@@ -573,7 +573,7 @@ struct FindAdvHelloContext
573 * @return GNUNET_YES (continue iteration) 573 * @return GNUNET_YES (continue iteration)
574 */ 574 */
575static int 575static int
576find_advertisable_hello (void *cls, const GNUNET_HashCode * pid, void *value) 576find_advertisable_hello (void *cls, const struct GNUNET_HashCode * pid, void *value)
577{ 577{
578 struct FindAdvHelloContext *fah = cls; 578 struct FindAdvHelloContext *fah = cls;
579 struct Peer *pos = value; 579 struct Peer *pos = value;
@@ -659,7 +659,7 @@ schedule_next_hello (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
659 * @return GNUNET_YES (always) 659 * @return GNUNET_YES (always)
660 */ 660 */
661static int 661static int
662reschedule_hellos (void *cls, const GNUNET_HashCode * pid, void *value) 662reschedule_hellos (void *cls, const struct GNUNET_HashCode * pid, void *value)
663{ 663{
664 struct Peer *peer = value; 664 struct Peer *peer = value;
665 struct Peer *skip = cls; 665 struct Peer *skip = cls;
@@ -743,7 +743,7 @@ connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
743 * @return GNUNET_YES (continue to iterate) 743 * @return GNUNET_YES (continue to iterate)
744 */ 744 */
745static int 745static int
746try_add_peers (void *cls, const GNUNET_HashCode * pid, void *value) 746try_add_peers (void *cls, const struct GNUNET_HashCode * pid, void *value)
747{ 747{
748 struct Peer *pos = value; 748 struct Peer *pos = value;
749 749