transport API changes
authorChristian Grothoff <christian@grothoff.org>
Tue, 13 Apr 2010 14:13:04 +0000 (14:13 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 13 Apr 2010 14:13:04 +0000 (14:13 +0000)
src/dv/plugin_transport_dv.c

index 6faeaaea2d9851f25779a1dfea76a114c2f9bfe8..1a8e075ecdf92e995051cb86adee125e2f89c60d 100644 (file)
@@ -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