- minor renamings
[oweals/gnunet.git] / src / dv / gnunet-dv.c
index 43af3458eccc3c04937901957d720e70ad5e853b..7e2d5b5715a592cd50eb655ef37e8d5020a3f342 100644 (file)
@@ -43,11 +43,13 @@ static int verbose;
  * @param cls closure
  * @param peer newly connected peer
  * @param distance distance to the peer
+ * @param network the network the next hop is located in
  */
 static void
 connect_cb (void *cls,
            const struct GNUNET_PeerIdentity *peer,
-           uint32_t distance)
+           uint32_t distance,
+            enum GNUNET_ATS_Network_Type network)
 {
   fprintf (stderr, "Connect: %s at %u\n",
           GNUNET_i2s (peer),
@@ -61,11 +63,13 @@ connect_cb (void *cls,
  * @param cls closure
  * @param peer connected peer
  * @param distance new distance to the peer
+ * @param network network used on first hop to peer
  */
 static void
 change_cb (void *cls,
           const struct GNUNET_PeerIdentity *peer,
-          uint32_t distance)
+          uint32_t distance,
+           enum GNUNET_ATS_Network_Type network)
 {
   fprintf (stderr, "Change: %s at %u\n",
           GNUNET_i2s (peer),