aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-08-31 15:22:59 +0000
committerBart Polot <bart@net.in.tum.de>2011-08-31 15:22:59 +0000
commit95dd1c20cc527cd8d808955fc05866829f760256 (patch)
tree90127f31513495ca46d73466b5c6ad1bafe9d81e /src/include
parent5d70116125cf85715849e8ab59bc2303a776fe8a (diff)
downloadgnunet-95dd1c20cc527cd8d808955fc05866829f760256.tar.gz
gnunet-95dd1c20cc527cd8d808955fc05866829f760256.zip
Header for new connect call
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_mesh_service_new.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gnunet_mesh_service_new.h b/src/include/gnunet_mesh_service_new.h
index d0be4ee77..e72bacfe7 100644
--- a/src/include/gnunet_mesh_service_new.h
+++ b/src/include/gnunet_mesh_service_new.h
@@ -129,6 +129,9 @@ typedef uint32_t GNUNET_MESH_ApplicationType;
129 * Connect to the mesh service. 129 * Connect to the mesh service.
130 * 130 *
131 * @param cfg configuration to use 131 * @param cfg configuration to use
132 * @param queue_size size of the data message queue, shared among all tunnels
133 * (each tunnel is guaranteed to accept at least one message,
134 * no matter what is the status of other tunnels)
132 * @param cls closure for the various callbacks that follow 135 * @param cls closure for the various callbacks that follow
133 * (including handlers in the handlers array) 136 * (including handlers in the handlers array)
134 * @param cleaner function called when an *inbound* tunnel is destroyed 137 * @param cleaner function called when an *inbound* tunnel is destroyed
@@ -141,7 +144,8 @@ typedef uint32_t GNUNET_MESH_ApplicationType;
141 * (in this case, init is never called) 144 * (in this case, init is never called)
142 */ 145 */
143struct GNUNET_MESH_Handle * 146struct GNUNET_MESH_Handle *
144GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, void *cls, 147GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
148 unsigned int queue_size, void *cls,
145 GNUNET_MESH_TunnelEndHandler cleaner, 149 GNUNET_MESH_TunnelEndHandler cleaner,
146 const struct GNUNET_MESH_MessageHandler *handlers, 150 const struct GNUNET_MESH_MessageHandler *handlers,
147 const GNUNET_MESH_ApplicationType *stypes); 151 const GNUNET_MESH_ApplicationType *stypes);