aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-10-21 16:12:48 +0000
committerBart Polot <bart@net.in.tum.de>2013-10-21 16:12:48 +0000
commit40e25a57655bc682c8aa13f10ab9a0fb9c10e2f2 (patch)
tree2d705ab36ff5db586f42b972e020342ad3c11186 /src/mesh
parentdd3620024ebe44d58af4b11f82dbcc30e1d06d36 (diff)
downloadgnunet-40e25a57655bc682c8aa13f10ab9a0fb9c10e2f2.tar.gz
gnunet-40e25a57655bc682c8aa13f10ab9a0fb9c10e2f2.zip
- doxygen
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh_connection.c5
-rw-r--r--src/mesh/gnunet-service-mesh_connection.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c
index 3f6ebc7e4..2c07baa50 100644
--- a/src/mesh/gnunet-service-mesh_connection.c
+++ b/src/mesh/gnunet-service-mesh_connection.c
@@ -787,8 +787,11 @@ connection_unlock_queue (struct MeshConnection *c, int fwd)
787 787
788/** 788/**
789 * Cancel all transmissions that belong to a certain connection. 789 * Cancel all transmissions that belong to a certain connection.
790 *
791 * If the connection is scheduled for destruction and no more messages are left,
792 * the connection will be destroyed by the continuation call.
790 * 793 *
791 * @param c Connection which to cancel. 794 * @param c Connection which to cancel. Might be destroyed during this call.
792 * @param fwd Cancel fwd traffic? 795 * @param fwd Cancel fwd traffic?
793 */ 796 */
794static void 797static void
diff --git a/src/mesh/gnunet-service-mesh_connection.h b/src/mesh/gnunet-service-mesh_connection.h
index d6b261002..3f75bcdab 100644
--- a/src/mesh/gnunet-service-mesh_connection.h
+++ b/src/mesh/gnunet-service-mesh_connection.h
@@ -231,7 +231,10 @@ GMC_new (const struct GNUNET_HashCode *cid,
231 unsigned int own_pos); 231 unsigned int own_pos);
232 232
233/** 233/**
234 * Connection is no longer needed: destroy it and remove from tunnel. 234 * Connection is no longer needed: destroy it.
235 *
236 * Cancels all pending traffic (including possible DESTROY messages), all
237 * maintenance tasks and removes the connection from neighbor peers and tunnel.
235 * 238 *
236 * @param c Connection to destroy. 239 * @param c Connection to destroy.
237 */ 240 */