gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r16659 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r16659 - gnunet/src/include
Date: Wed, 31 Aug 2011 17:22:59 +0200

Author: bartpolot
Date: 2011-08-31 17:22:59 +0200 (Wed, 31 Aug 2011)
New Revision: 16659

Modified:
   gnunet/src/include/gnunet_mesh_service_new.h
Log:
Header for new connect call

Modified: gnunet/src/include/gnunet_mesh_service_new.h
===================================================================
--- gnunet/src/include/gnunet_mesh_service_new.h        2011-08-31 14:37:07 UTC 
(rev 16658)
+++ gnunet/src/include/gnunet_mesh_service_new.h        2011-08-31 15:22:59 UTC 
(rev 16659)
@@ -129,6 +129,9 @@
  * Connect to the mesh service.
  *
  * @param cfg configuration to use
+ * @param queue_size size of the data message queue, shared among all tunnels
+ *                   (each tunnel is guaranteed to accept at least one message,
+ *                    no matter what is the status of other tunnels)
  * @param cls closure for the various callbacks that follow
  *            (including handlers in the handlers array)
  * @param cleaner function called when an *inbound* tunnel is destroyed
@@ -141,7 +144,8 @@
  *         (in this case, init is never called)
  */
 struct GNUNET_MESH_Handle *
-GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, void *cls,
+GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
+                     unsigned int queue_size, void *cls,
                      GNUNET_MESH_TunnelEndHandler cleaner,
                      const struct GNUNET_MESH_MessageHandler *handlers,
                      const GNUNET_MESH_ApplicationType *stypes);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]