aboutsummaryrefslogtreecommitdiff
path: root/src/dv/plugin_transport_dv.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-13 14:13:04 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-13 14:13:04 +0000
commit34204f0b98aa730774353277dd7780d849b1d179 (patch)
tree378c6b14d507971cebdd9df888c82d97a5c8990f /src/dv/plugin_transport_dv.c
parentd0f14ce4076688b90da1a88db984043eceda0566 (diff)
downloadgnunet-34204f0b98aa730774353277dd7780d849b1d179.tar.gz
gnunet-34204f0b98aa730774353277dd7780d849b1d179.zip
transport API changes
Diffstat (limited to 'src/dv/plugin_transport_dv.c')
-rw-r--r--src/dv/plugin_transport_dv.c3
1 files changed, 3 insertions, 0 deletions
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,
187 sender, 187 sender,
188 (struct GNUNET_MessageHeader *)msg, 188 (struct GNUNET_MessageHeader *)msg,
189 distance, 189 distance,
190 NULL, /* FIXME: pass session! */
190 sender_address, 191 sender_address,
191 sender_address_len); 192 sender_address_len);
192 193
@@ -230,6 +231,7 @@ dv_plugin_send (void *cls,
230 size_t msgbuf_size, 231 size_t msgbuf_size,
231 unsigned int priority, 232 unsigned int priority,
232 struct GNUNET_TIME_Relative timeout, 233 struct GNUNET_TIME_Relative timeout,
234 struct Session *session,
233 const void *addr, 235 const void *addr,
234 size_t addrlen, 236 size_t addrlen,
235 int force_address, 237 int force_address,
@@ -242,6 +244,7 @@ dv_plugin_send (void *cls,
242 /* FIXME: do we want the dv plugin to remember sent messages to call continuation once message actually goes out? 244 /* FIXME: do we want the dv plugin to remember sent messages to call continuation once message actually goes out?
243 * Or do we just call the continuation once we've notified the plugin? 245 * Or do we just call the continuation once we've notified the plugin?
244 */ 246 */
247 // FIXME: does it make sense for us to use sessions?
245#if DEBUG_DV 248#if DEBUG_DV
246 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "DV API: Received send request from transport, calling GNUNET_DV_send\n"); 249 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "DV API: Received send request from transport, calling GNUNET_DV_send\n");
247#endif 250#endif