diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-21 16:12:48 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-21 16:12:48 +0000 |
commit | 40e25a57655bc682c8aa13f10ab9a0fb9c10e2f2 (patch) | |
tree | 2d705ab36ff5db586f42b972e020342ad3c11186 /src/mesh | |
parent | dd3620024ebe44d58af4b11f82dbcc30e1d06d36 (diff) | |
download | gnunet-40e25a57655bc682c8aa13f10ab9a0fb9c10e2f2.tar.gz gnunet-40e25a57655bc682c8aa13f10ab9a0fb9c10e2f2.zip |
- doxygen
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.c | 5 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.h | 5 |
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 | */ |
794 | static void | 797 | static 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 | */ |