diff options
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 | ||