diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 12a3cd171..6c072130b 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -791,19 +791,19 @@ transmission_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
791 | * @param cls closure for callbacks | 791 | * @param cls closure for callbacks |
792 | * @param connect_cb function to call if we connect to a peer | 792 | * @param connect_cb function to call if we connect to a peer |
793 | * @param disconnect_cb function to call if we disconnect from a peer | 793 | * @param disconnect_cb function to call if we disconnect from a peer |
794 | * @param address_cb function to call if we change an active address | 794 | * @param peer_address_cb function to call if we change an active address |
795 | * of a neighbour | 795 | * of a neighbour |
796 | */ | 796 | */ |
797 | void | 797 | void |
798 | GST_neighbours_start (void *cls, | 798 | GST_neighbours_start (void *cls, |
799 | GNUNET_TRANSPORT_NotifyConnect connect_cb, | 799 | GNUNET_TRANSPORT_NotifyConnect connect_cb, |
800 | GNUNET_TRANSPORT_NotifyDisconnect disconnect_cb, | 800 | GNUNET_TRANSPORT_NotifyDisconnect disconnect_cb, |
801 | GNUNET_TRANSPORT_PeerIterateCallback address_cb) | 801 | GNUNET_TRANSPORT_PeerIterateCallback peer_address_cb) |
802 | { | 802 | { |
803 | callback_cls = cls; | 803 | callback_cls = cls; |
804 | connect_notify_cb = connect_cb; | 804 | connect_notify_cb = connect_cb; |
805 | disconnect_notify_cb = disconnect_cb; | 805 | disconnect_notify_cb = disconnect_cb; |
806 | address_change_cb = address_cb; | 806 | address_change_cb = peer_address_cb; |
807 | neighbours = GNUNET_CONTAINER_multihashmap_create (NEIGHBOUR_TABLE_SIZE); | 807 | neighbours = GNUNET_CONTAINER_multihashmap_create (NEIGHBOUR_TABLE_SIZE); |
808 | } | 808 | } |
809 | 809 | ||