diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-29 14:44:24 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-09-29 14:44:24 +0000 |
commit | 8377aa60c8714fcec4967e1652c4628032b55bf6 (patch) | |
tree | 89968302123369aedbcab440d57b4889d6091ce6 /src/transport/gnunet-service-transport_neighbours.h | |
parent | 46dfa72665e1fcd10c1e98957de6a732f5991c13 (diff) | |
download | gnunet-8377aa60c8714fcec4967e1652c4628032b55bf6.tar.gz gnunet-8377aa60c8714fcec4967e1652c4628032b55bf6.zip |
fixing list-connections to show correct peer id
extending neighbour-iterate to return plugin, addr and addresslen
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index 86939f91a..88e24b73a 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -152,13 +152,19 @@ GST_neighbours_force_disconnect (const struct GNUNET_PeerIdentity *target); | |||
152 | * @param neighbour identity of the neighbour | 152 | * @param neighbour identity of the neighbour |
153 | * @param ats performance data | 153 | * @param ats performance data |
154 | * @param ats_count number of entries in ats (including 0-termination) | 154 | * @param ats_count number of entries in ats (including 0-termination) |
155 | * @param transport plugin | ||
156 | * @param addr address | ||
157 | * @param addrlen address length | ||
155 | */ | 158 | */ |
156 | typedef void (*GST_NeighbourIterator) (void *cls, | 159 | typedef void (*GST_NeighbourIterator) (void *cls, |
157 | const struct GNUNET_PeerIdentity * | 160 | const struct GNUNET_PeerIdentity * |
158 | neighbour, | 161 | neighbour, |
159 | const struct | 162 | const struct |
160 | GNUNET_TRANSPORT_ATS_Information * ats, | 163 | GNUNET_TRANSPORT_ATS_Information * ats, |
161 | uint32_t ats_count); | 164 | uint32_t ats_count, |
165 | const char * transport, | ||
166 | const void * addr, | ||
167 | size_t addrlen); | ||
162 | 168 | ||
163 | 169 | ||
164 | /** | 170 | /** |