From 0db0f5b8f69e2137256904edf29222e71051e77c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 8 Jan 2014 10:50:27 +0000 Subject: implementing monitoring api --- src/transport/gnunet-service-transport_neighbours.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/transport/gnunet-service-transport_neighbours.h') diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index c72b298c5..2e0e4e692 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h @@ -170,19 +170,21 @@ GST_neighbours_force_disconnect (const struct GNUNET_PeerIdentity *target); /** - * Function called for each connected neighbour. + * Function called for each neighbour. * * @param cls closure * @param neighbour identity of the neighbour * @param address the address (or NULL) + * @param state current state the peer is in + * @param state_timeout timeout for this state * @param bandwidth_in inbound quota in NBO * @param bandwidth_out outbound quota in NBO */ typedef void (*GST_NeighbourIterator) (void *cls, - const struct GNUNET_PeerIdentity * - neighbour, - const struct GNUNET_HELLO_Address * - address, + const struct GNUNET_PeerIdentity *neighbour, + const struct GNUNET_HELLO_Address *address, + enum GNUNET_TRANSPORT_PeerState state, + struct GNUNET_TIME_Absolute state_timeout, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out); -- cgit v1.2.3