GNUNET_break (0);
return;
}
+ fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT ats_count %u\n",ntohl (cim->ats_count));
n->is_connected = GNUNET_YES;
if (h->nc_cb != NULL)
+ h->nc_cb (h->cls, &n->id,
+ NULL,
+ 0);
+
+ /* FIX if (h->nc_cb != NULL)
h->nc_cb (h->cls, &n->id,
&(cim->ats),
- ntohl (cim->ats_count));
+ ntohl (cim->ats_count));*/
break;
case GNUNET_MESSAGE_TYPE_TRANSPORT_DISCONNECT:
if (size != sizeof (struct DisconnectInfoMessage))
GNUNET_break (0);
return;
}
+ fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_RECV ats_count %u\n",ntohl (im->ats_count));
if (h->rec != NULL)
+ h->rec (h->cls, &im->peer,
+ imm,
+ NULL,
+ 0);
+ /* FIX
h->rec (h->cls, &im->peer,
imm,
&im->ats,
- ntohl (im->ats_count));
+ ntohl (im->ats_count));*/
break;
default:
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,