aboutsummaryrefslogtreecommitdiff
path: root/src/dv/plugin_transport_dv.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-05-12 15:51:49 +0000
committerNathan S. Evans <evans@in.tum.de>2010-05-12 15:51:49 +0000
commitbaaedd4fdfb10fc28d9923be9e1d28663d621eca (patch)
treed15f6e3cbcb4b833c54e57e9d80b70210a8bc932 /src/dv/plugin_transport_dv.c
parent6d6c4ed2d4dc7b598715cfceb73e3fa84a6b4426 (diff)
downloadgnunet-baaedd4fdfb10fc28d9923be9e1d28663d621eca.tar.gz
gnunet-baaedd4fdfb10fc28d9923be9e1d28663d621eca.zip
moving closer towards a working dv implementation
Diffstat (limited to 'src/dv/plugin_transport_dv.c')
-rw-r--r--src/dv/plugin_transport_dv.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c
index 6932ce34b..a8c05d309 100644
--- a/src/dv/plugin_transport_dv.c
+++ b/src/dv/plugin_transport_dv.c
@@ -139,11 +139,6 @@ struct Plugin
139 struct Session *sessions; 139 struct Session *sessions;
140 140
141 /** 141 /**
142 * Handle for the statistics service.
143 */
144 struct GNUNET_STATISTICS_Handle *statistics;
145
146 /**
147 * Our server. 142 * Our server.
148 */ 143 */
149 //struct GNUNET_SERVER_Handle *server; 144 //struct GNUNET_SERVER_Handle *server;
@@ -243,10 +238,6 @@ dv_plugin_send (void *cls,
243 int ret = 0; 238 int ret = 0;
244 struct Plugin *plugin = cls; 239 struct Plugin *plugin = cls;
245 240
246 /* FIXME: do we want the dv plugin to remember sent messages to call continuation once message actually goes out?
247 * Or do we just call the continuation once we've notified the plugin?
248 */
249 // FIXME: does it make sense for us to use sessions?
250#if DEBUG_DV 241#if DEBUG_DV
251 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "DV API: Received send request from transport, calling GNUNET_DV_send\n"); 242 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "DV API: Received send request from transport, calling GNUNET_DV_send\n");
252#endif 243#endif
@@ -390,7 +381,6 @@ libgnunet_plugin_transport_dv_init (void *cls)
390 381
391 plugin = GNUNET_malloc (sizeof (struct Plugin)); 382 plugin = GNUNET_malloc (sizeof (struct Plugin));
392 plugin->env = env; 383 plugin->env = env;
393 plugin->statistics = NULL;
394 //plugin->service = service; 384 //plugin->service = service;
395 //plugin->server = GNUNET_SERVICE_get_server (service); 385 //plugin->server = GNUNET_SERVICE_get_server (service);
396 386