aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-12 12:47:14 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-12 12:47:14 +0000
commitb0fdd8eba09319b893fab2dd4945d6dab9cd704c (patch)
treeb89a3e325e3a45801a9d7b6ae0951de69fbbcf63 /src/transport/gnunet-service-transport_neighbours.h
parentccdfb051fa386bb44024d53540b0a29ab7bd725e (diff)
downloadgnunet-b0fdd8eba09319b893fab2dd4945d6dab9cd704c.tar.gz
gnunet-b0fdd8eba09319b893fab2dd4945d6dab9cd704c.zip
switch api
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h
index 76e5e7336..8c038ef20 100644
--- a/src/transport/gnunet-service-transport_neighbours.h
+++ b/src/transport/gnunet-service-transport_neighbours.h
@@ -173,6 +173,27 @@ GST_neighbours_handle_connect (const struct GNUNET_PeerIdentity *sender,
173 173
174 174
175/** 175/**
176 * For an existing neighbour record, set the active connection to
177 * the given address.
178 *
179 * @param plugin_name name of transport that delivered the PONG
180 * @param address address of the other peer, NULL if other peer
181 * connected to us
182 * @param address_len number of bytes in address
183 * @param ats performance data
184 * @param ats_count number of entries in ats (excluding 0-termination)
185 */
186void
187GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer,
188 const char *plugin_name,
189 const void *address,
190 size_t address_len,
191 struct Session *session,
192 const struct GNUNET_TRANSPORT_ATS_Information *ats,
193 uint32_t ats_count);
194
195
196/**
176 * We have received a DISCONNECT. Set the peer to disconnected. 197 * We have received a DISCONNECT. Set the peer to disconnected.
177 * 198 *
178 * @param sender peer sending the PONG 199 * @param sender peer sending the PONG