added transport api changes to core
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 30 Nov 2010 12:33:06 +0000 (12:33 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 30 Nov 2010 12:33:06 +0000 (12:33 +0000)
src/core/gnunet-service-core.c

index 27f7a7d1cfbe46772a94fa4bb0bae06e2801f352..1576eac01f0f269a5f11f6fed531f77b1883edb7 100644 (file)
@@ -3887,8 +3887,7 @@ static void
 handle_transport_receive (void *cls,
                           const struct GNUNET_PeerIdentity *peer,
                           const struct GNUNET_MessageHeader *message,
-                          struct GNUNET_TIME_Relative latency,
-                         unsigned int distance)
+                          const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count)
 {
   struct Neighbour *n;
   struct GNUNET_TIME_Absolute now;
@@ -4132,8 +4131,7 @@ neighbour_quota_update (void *cls,
 static void
 handle_transport_notify_connect (void *cls,
                                  const struct GNUNET_PeerIdentity *peer,
-                                 struct GNUNET_TIME_Relative latency,
-                                unsigned int distance)
+                                 const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count)
 {
   struct Neighbour *n;