summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-10-09 09:53:07 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-10-09 09:53:07 +0000
commitd1bd35b2c7b4bbac2fd1c253fce14404bb3a6329 (patch)
tree2f52f3fe764a31306564776f4413d1c101b82b0c /src/transport/transport-testing.h
parent0de4e0f5c9a065a5266e34013074258675cca470 (diff)
assertions
Diffstat (limited to 'src/transport/transport-testing.h')
-rw-r--r--src/transport/transport-testing.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/transport/transport-testing.h b/src/transport/transport-testing.h
index 2aaff26b0..94cfaf59a 100644
--- a/src/transport/transport-testing.h
+++ b/src/transport/transport-testing.h
@@ -160,7 +160,7 @@ GNUNET_TRANSPORT_TESTING_stop_peer (struct TransportTestingHandle * tth,
* before.
* @param p1 peer 1
* @param p2 peer 2
- * @param cb the callback to call
+ * @param cb the callback to call when both peers notified that they are connected
* @param cb_cls callback cls
* @return a connect request handle
*/
@@ -180,10 +180,17 @@ void
GNUNET_TRANSPORT_TESTING_connect_peers_cancel (struct TransportTestingHandle *,
void *cc);
-
+/**
+ * Clean up the transport testing
+ * @param tth transport testing handle
+ */
void
GNUNET_TRANSPORT_TESTING_done (struct TransportTestingHandle * tth);
+/**
+ * Initialize the transport testing
+ * @return transport testing handle
+ */
struct TransportTestingHandle *
GNUNET_TRANSPORT_TESTING_init ();