aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-13 21:08:21 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-13 21:08:21 +0000
commite1d767d557cb8241f69e50b9e8d55e5a08e0adcb (patch)
tree38a3d43e23b88e4ba9159561d7af95fe4c697f8d /src/transport/gnunet-service-transport_neighbours.h
parent7a377062f397a3cf1ee5ddb1e79bba55e3a25bff (diff)
downloadgnunet-e1d767d557cb8241f69e50b9e8d55e5a08e0adcb.tar.gz
gnunet-e1d767d557cb8241f69e50b9e8d55e5a08e0adcb.zip
stuff
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h
index 281060913..d9b2fd6b4 100644
--- a/src/transport/gnunet-service-transport_neighbours.h
+++ b/src/transport/gnunet-service-transport_neighbours.h
@@ -164,13 +164,26 @@ GST_neighbours_iterate (GST_NeighbourIterator cb,
164 164
165 165
166/** 166/**
167 * A session was terminated. Take note.
168 *
169 * @param peer identity of the peer where the session died
170 * @param session session that is gone
171 */
172void
173GST_neighbours_session_terminated (const struct GNUNET_PeerIdentity *peer,
174 struct Session *session);
175
176
177/**
167 * For an existing neighbour record, set the active connection to 178 * For an existing neighbour record, set the active connection to
168 * use the given address. 179 * use the given address.
169 * 180 *
181 * @param peer identity of the peer to switch the address for
170 * @param plugin_name name of transport that delivered the PONG 182 * @param plugin_name name of transport that delivered the PONG
171 * @param address address of the other peer, NULL if other peer 183 * @param address address of the other peer, NULL if other peer
172 * connected to us 184 * connected to us
173 * @param address_len number of bytes in address 185 * @param address_len number of bytes in address
186 * @param session session to use (or NULL)
174 * @param ats performance data 187 * @param ats performance data
175 * @param ats_count number of entries in ats (excluding 0-termination) 188 * @param ats_count number of entries in ats (excluding 0-termination)
176 */ 189 */