diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-09 09:53:07 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-09 09:53:07 +0000 |
commit | d1bd35b2c7b4bbac2fd1c253fce14404bb3a6329 (patch) | |
tree | 2f52f3fe764a31306564776f4413d1c101b82b0c /src/transport/transport-testing.h | |
parent | 0de4e0f5c9a065a5266e34013074258675cca470 (diff) | |
download | gnunet-d1bd35b2c7b4bbac2fd1c253fce14404bb3a6329.tar.gz gnunet-d1bd35b2c7b4bbac2fd1c253fce14404bb3a6329.zip |
assertions
Diffstat (limited to 'src/transport/transport-testing.h')
-rw-r--r-- | src/transport/transport-testing.h | 11 |
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, | |||
160 | * before. | 160 | * before. |
161 | * @param p1 peer 1 | 161 | * @param p1 peer 1 |
162 | * @param p2 peer 2 | 162 | * @param p2 peer 2 |
163 | * @param cb the callback to call | 163 | * @param cb the callback to call when both peers notified that they are connected |
164 | * @param cb_cls callback cls | 164 | * @param cb_cls callback cls |
165 | * @return a connect request handle | 165 | * @return a connect request handle |
166 | */ | 166 | */ |
@@ -180,10 +180,17 @@ void | |||
180 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (struct TransportTestingHandle *, | 180 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (struct TransportTestingHandle *, |
181 | void *cc); | 181 | void *cc); |
182 | 182 | ||
183 | 183 | /** | |
184 | * Clean up the transport testing | ||
185 | * @param tth transport testing handle | ||
186 | */ | ||
184 | void | 187 | void |
185 | GNUNET_TRANSPORT_TESTING_done (struct TransportTestingHandle * tth); | 188 | GNUNET_TRANSPORT_TESTING_done (struct TransportTestingHandle * tth); |
186 | 189 | ||
190 | /** | ||
191 | * Initialize the transport testing | ||
192 | * @return transport testing handle | ||
193 | */ | ||
187 | struct TransportTestingHandle * | 194 | struct TransportTestingHandle * |
188 | GNUNET_TRANSPORT_TESTING_init (); | 195 | GNUNET_TRANSPORT_TESTING_init (); |
189 | 196 | ||