aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-17 13:55:08 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-17 13:55:08 +0000
commit7402a01c58bc72833e5a126bc204a21d8db908d2 (patch)
tree3ec24bbbd15c2a42bdf089dc76c3bd3a0ddd487b /src/transport/gnunet-service-transport_neighbours.h
parent2e30d52c8b5dfa6587b3cfc94ca035d51ff7b7af (diff)
downloadgnunet-7402a01c58bc72833e5a126bc204a21d8db908d2.tar.gz
gnunet-7402a01c58bc72833e5a126bc204a21d8db908d2.zip
removing bad reserved field, small refactoring
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h
index 5b4929c2c..2f6962a67 100644
--- a/src/transport/gnunet-service-transport_neighbours.h
+++ b/src/transport/gnunet-service-transport_neighbours.h
@@ -209,5 +209,29 @@ GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer,
209 *ats, uint32_t ats_count); 209 *ats, uint32_t ats_count);
210 210
211 211
212/**
213 * We received a 'SESSION_CONNECT' message from the other peer.
214 * Consider switching to it.
215 *
216 * @param message possibly a 'struct SessionConnectMessage' (check format)
217 * @param peer identity of the peer to switch the address for
218 * @param plugin_name name of transport that delivered the PONG
219 * @param address address of the other peer, NULL if other peer
220 * connected to us
221 * @param address_len number of bytes in address
222 * @param session session to use (or NULL)
223 * @param ats performance data
224 * @param ats_count number of entries in ats (excluding 0-termination)
225 */
226void
227GST_neighbours_handle_connect (const struct GNUNET_MessageHeader *message,
228 const struct GNUNET_PeerIdentity *peer,
229 const char *plugin_name,
230 const char *sender_address, uint16_t sender_address_len,
231 struct Session *session,
232 const struct GNUNET_ATS_Information *ats,
233 uint32_t ats_count);
234
235
212#endif 236#endif
213/* end of file gnunet-service-transport_neighbours.h */ 237/* end of file gnunet-service-transport_neighbours.h */