diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 12 |
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 | */ |
181 | typedef void (*GST_NeighbourIterator) (void *cls, | 183 | typedef 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 | ||