[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27359 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27359 - gnunet/src/include |
Date: |
Tue, 4 Jun 2013 13:23:36 +0200 |
Author: grothoff
Date: 2013-06-04 13:23:36 +0200 (Tue, 04 Jun 2013)
New Revision: 27359
Modified:
gnunet/src/include/gnunet_mesh2_service.h
Log:
-remarks on mesh api
Modified: gnunet/src/include/gnunet_mesh2_service.h
===================================================================
--- gnunet/src/include/gnunet_mesh2_service.h 2013-06-04 11:07:47 UTC (rev
27358)
+++ gnunet/src/include/gnunet_mesh2_service.h 2013-06-04 11:23:36 UTC (rev
27359)
@@ -150,6 +150,10 @@
/**
* Connect to the mesh service.
*
+ * FIXME: flow control is impossible with this API, as the handlers cannot
+ * tell mesh that they are currently too busy to receive more data.
+ * We need something equivalent to 'GNUNET_SERVER_receive_done ()' to do that.
+ *
* @param cfg configuration to use
* @param cls closure for the various callbacks that follow
* (including handlers in the handlers array)
@@ -189,6 +193,10 @@
* Create a new tunnel (we're initiator and will be allowed to add/remove peers
* and to broadcast).
*
+ * FIXME: API quirk: why do I need to be listening just to create an
+ * outbound tunnel? We could pass the 'cfg' plus the handlers here
+ * instead.
+ *
* @param h mesh handle
* @param tunnel_ctx client's tunnel context to associate with the tunnel
* @param peer peer identity the tunnel should go to
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27359 - gnunet/src/include,
gnunet <=