diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-07-15 11:29:50 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-07-15 11:29:50 +0000 |
commit | 5df0b99c183977fb5bf95121bc071181e0324570 (patch) | |
tree | 1aeb15466d885e5cc7836a28548aebf1701af50a /src | |
parent | 5e6bbc1a120df550156ba92025cb896f803d4e07 (diff) | |
download | gnunet-5df0b99c183977fb5bf95121bc071181e0324570.tar.gz gnunet-5df0b99c183977fb5bf95121bc071181e0324570.zip |
- doc
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_mesh_service.h | 4 | ||||
-rw-r--r-- | src/mesh/mesh_api.c | 6 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/include/gnunet_mesh_service.h b/src/include/gnunet_mesh_service.h index 48c71ed63..378d40ba0 100644 --- a/src/include/gnunet_mesh_service.h +++ b/src/include/gnunet_mesh_service.h | |||
@@ -241,10 +241,6 @@ struct MeshTunnelInfo { | |||
241 | 241 | ||
242 | /** | 242 | /** |
243 | * Get information about a tunnel. | 243 | * Get information about a tunnel. |
244 | * | ||
245 | * The existing end callback for the tunnel will be called immediately. | ||
246 | * Any pending outgoing messages will be sent but no incoming messages will be | ||
247 | * accepted and no data callbacks will be called. | ||
248 | * | 244 | * |
249 | * @param tunnel Tunnel handle. | 245 | * @param tunnel Tunnel handle. |
250 | * | 246 | * |
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 186961e6c..7547616ed 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c | |||
@@ -1479,10 +1479,6 @@ GNUNET_MESH_tunnel_destroy (struct GNUNET_MESH_Tunnel *tunnel) | |||
1479 | 1479 | ||
1480 | /** | 1480 | /** |
1481 | * Get information about a tunnel. | 1481 | * Get information about a tunnel. |
1482 | * | ||
1483 | * The existing end callback for the tunnel will be called immediately. | ||
1484 | * Any pending outgoing messages will be sent but no incoming messages will be | ||
1485 | * accepted and no data callbacks will be called. | ||
1486 | * | 1482 | * |
1487 | * @param tunnel Tunnel handle. | 1483 | * @param tunnel Tunnel handle. |
1488 | * | 1484 | * |
@@ -1495,7 +1491,7 @@ GNUNET_MESH_tunnel_get_info (struct GNUNET_MESH_Tunnel *tunnel) | |||
1495 | 1491 | ||
1496 | ret = GNUNET_malloc (sizeof (struct MeshTunnelInfo) * 3); | 1492 | ret = GNUNET_malloc (sizeof (struct MeshTunnelInfo) * 3); |
1497 | ret[0].prop = GNUNET_MESH_OPTION_NOBUFFER; | 1493 | ret[0].prop = GNUNET_MESH_OPTION_NOBUFFER; |
1498 | ret[0].value = &tunnel->buffering; // FIXME return ¬buffering ("nobuffer") | 1494 | ret[0].value = &tunnel->buffering; // FIXME use "nobuffer" |
1499 | ret[1].prop = GNUNET_MESH_OPTION_RELIABLE; | 1495 | ret[1].prop = GNUNET_MESH_OPTION_RELIABLE; |
1500 | ret[1].value = &tunnel->reliable; | 1496 | ret[1].value = &tunnel->reliable; |
1501 | ret[2].prop = 0; | 1497 | ret[2].prop = 0; |