-new hostlist
[oweals/gnunet.git] / src / hostlist / hostlist-server.c
index a6d9c126cb61a3df45ab640910ccfd1111533824..8e79ace1bd62a7364b115178d94b2bce0f1514b6 100644 (file)
@@ -141,16 +141,13 @@ finish_response (struct HostSet *results)
  * Set 'cls' to GNUNET_YES (we have an address!).
  *
  * @param cls closure, an 'int*'
- * @param tname name of the transport (ignored)
+ * @param address the address (ignored)
  * @param expiration expiration time (call is ignored if this is in the past)
- * @param addr the address (ignored)
- * @param addrlen length of the address (ignored)
  * @return  GNUNET_SYSERR to stop iterating (unless expiration has occured)
  */
 static int
-check_has_addr (void *cls, const char *tname,
-                struct GNUNET_TIME_Absolute expiration, const void *addr,
-                uint16_t addrlen)
+check_has_addr (void *cls, const struct GNUNET_HELLO_Address *address,
+                struct GNUNET_TIME_Absolute expiration)
 {
   int *arg = cls;
 
@@ -367,7 +364,7 @@ adv_transmit_ready (void *cls, size_t size, void *buf)
 static void
 connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
                  const struct GNUNET_ATS_Information *atsi,
-                unsigned int atsi_count)
+                 unsigned int atsi_count)
 {
   size_t size;