From: Christian Grothoff Date: Tue, 13 Apr 2010 14:13:04 +0000 (+0000) Subject: transport API changes X-Git-Tag: initial-import-from-subversion-38251~22174 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=34204f0b98aa730774353277dd7780d849b1d179;p=oweals%2Fgnunet.git transport API changes --- diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c index 6faeaaea2..1a8e075ec 100644 --- a/src/dv/plugin_transport_dv.c +++ b/src/dv/plugin_transport_dv.c @@ -187,6 +187,7 @@ void handle_dv_message_received (void *cls, sender, (struct GNUNET_MessageHeader *)msg, distance, + NULL, /* FIXME: pass session! */ sender_address, sender_address_len); @@ -230,6 +231,7 @@ dv_plugin_send (void *cls, size_t msgbuf_size, unsigned int priority, struct GNUNET_TIME_Relative timeout, + struct Session *session, const void *addr, size_t addrlen, int force_address, @@ -242,6 +244,7 @@ dv_plugin_send (void *cls, /* FIXME: do we want the dv plugin to remember sent messages to call continuation once message actually goes out? * Or do we just call the continuation once we've notified the plugin? */ + // FIXME: does it make sense for us to use sessions? #if DEBUG_DV GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "DV API: Received send request from transport, calling GNUNET_DV_send\n"); #endif