aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-01-08 10:50:27 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-01-08 10:50:27 +0000
commit0db0f5b8f69e2137256904edf29222e71051e77c (patch)
tree490944a3362d95c412c3d26f034a229c8e106676 /src/transport/gnunet-service-transport_neighbours.h
parentf98fb14e5a1c4acc0444d9c78c654468fab02c6a (diff)
downloadgnunet-0db0f5b8f69e2137256904edf29222e71051e77c.tar.gz
gnunet-0db0f5b8f69e2137256904edf29222e71051e77c.zip
implementing monitoring api
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.h12
1 files changed, 7 insertions, 5 deletions
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);
170 170
171 171
172/** 172/**
173 * Function called for each connected neighbour. 173 * Function called for each neighbour.
174 * 174 *
175 * @param cls closure 175 * @param cls closure
176 * @param neighbour identity of the neighbour 176 * @param neighbour identity of the neighbour
177 * @param address the address (or NULL) 177 * @param address the address (or NULL)
178 * @param state current state the peer is in
179 * @param state_timeout timeout for this state
178 * @param bandwidth_in inbound quota in NBO 180 * @param bandwidth_in inbound quota in NBO
179 * @param bandwidth_out outbound quota in NBO 181 * @param bandwidth_out outbound quota in NBO
180 */ 182 */
181typedef void (*GST_NeighbourIterator) (void *cls, 183typedef void (*GST_NeighbourIterator) (void *cls,
182 const struct GNUNET_PeerIdentity * 184 const struct GNUNET_PeerIdentity *neighbour,
183 neighbour, 185 const struct GNUNET_HELLO_Address *address,
184 const struct GNUNET_HELLO_Address * 186 enum GNUNET_TRANSPORT_PeerState state,
185 address, 187 struct GNUNET_TIME_Absolute state_timeout,
186 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, 188 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
187 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out); 189 struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out);
188 190