diff options
Diffstat (limited to 'src/include/gnunet_mesh_service_new.h')
-rw-r--r-- | src/include/gnunet_mesh_service_new.h | 6 |
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 | */ |
143 | struct GNUNET_MESH_Handle * | 146 | struct GNUNET_MESH_Handle * |
144 | GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, void *cls, | 147 | GNUNET_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); |