* @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 network)
+ uint32_t distance,
+ enum GNUNET_ATS_Network_Type network)
{
fprintf (stderr, "Connect: %s at %u\n",
GNUNET_i2s (peer),
* @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),