changed api to support ats structs
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 30 Nov 2010 12:18:39 +0000 (12:18 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 30 Nov 2010 12:18:39 +0000 (12:18 +0000)
src/include/gnunet_transport_service.h

index fcd91e6ec132d33d701136d619408afb8b002144..1969461733b98b406770e665d68005463846fbd8 100644 (file)
@@ -401,9 +401,8 @@ typedef void (*GNUNET_TRANSPORT_ReceiveCallback) (void *cls,
                                                   const struct
                                                   GNUNET_MessageHeader *
                                                   message,
-                                                 struct GNUNET_TIME_Relative
-                                                  latency,
-                                                 uint32_t distance);
+                                const struct GNUNET_TRANSPORT_ATS_Information *ats,
+                                                  uint32_t ats_count);
 
 
 /**
@@ -425,8 +424,8 @@ struct GNUNET_TRANSPORT_Handle;
 typedef void
   (*GNUNET_TRANSPORT_NotifyConnect) (void *cls,
                                      const struct GNUNET_PeerIdentity * peer,
-                                     struct GNUNET_TIME_Relative latency,
-                                    uint32_t distance);
+                                     const struct GNUNET_TRANSPORT_ATS_Information *ats,
+                                     uint32_t ats_count);
 
 /**
  * Function called to notify transport users that another