diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-30 15:13:38 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-11-30 15:13:38 +0000 |
commit | 3261daf13b7df8f7f25c3e5e489a337ed20103bc (patch) | |
tree | 63a0841e5fa901c5abaa78340e015ba454af4470 /src/transport/transport-testing.c | |
parent | 9835a1c29eafac2afefc7350a0179f20071b190a (diff) | |
download | gnunet-3261daf13b7df8f7f25c3e5e489a337ed20103bc.tar.gz gnunet-3261daf13b7df8f7f25c3e5e489a337ed20103bc.zip |
- doxygen
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r-- | src/transport/transport-testing.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c index 9f7a99a7b..dcd95053b 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c | |||
@@ -253,9 +253,13 @@ try_connect (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
253 | 253 | ||
254 | /** | 254 | /** |
255 | * Start a peer with the given configuration | 255 | * Start a peer with the given configuration |
256 | * @param tth the testing handle | ||
257 | * @param cfgname configuration file | ||
258 | * @param peer_id the peer_id | ||
256 | * @param rec receive callback | 259 | * @param rec receive callback |
257 | * @param nc connect callback | 260 | * @param nc connect callback |
258 | * @param nd disconnect callback | 261 | * @param nd disconnect callback |
262 | * @param start_cb start callback | ||
259 | * @param cb_cls closure for callback | 263 | * @param cb_cls closure for callback |
260 | * @return the peer context | 264 | * @return the peer context |
261 | */ | 265 | */ |
@@ -352,6 +356,8 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_handle | |||
352 | * @param tth testing handle | 356 | * @param tth testing handle |
353 | * @param p the peer | 357 | * @param p the peer |
354 | * @param cfgname the cfg file used to restart | 358 | * @param cfgname the cfg file used to restart |
359 | * @param restart_cb callback to call when restarted | ||
360 | * @param cb_cls callback closure | ||
355 | * @return GNUNET_OK in success otherwise GNUNET_SYSERR | 361 | * @return GNUNET_OK in success otherwise GNUNET_SYSERR |
356 | */ | 362 | */ |
357 | int | 363 | int |
@@ -460,6 +466,7 @@ fail: | |||
460 | 466 | ||
461 | /** | 467 | /** |
462 | * shutdown the given peer | 468 | * shutdown the given peer |
469 | * @param tth testing handle | ||
463 | * @param p the peer | 470 | * @param p the peer |
464 | */ | 471 | */ |
465 | void | 472 | void |
@@ -563,7 +570,9 @@ GNUNET_TRANSPORT_TESTING_connect_peers (struct GNUNET_TRANSPORT_TESTING_handle | |||
563 | /** | 570 | /** |
564 | * Cancel the request to connect two peers | 571 | * Cancel the request to connect two peers |
565 | * Tou MUST cancel the request if you stop the peers before the peers connected succesfully | 572 | * Tou MUST cancel the request if you stop the peers before the peers connected succesfully |
566 | * @param cc a connect request handle | 573 | * |
574 | * @param tth transport testing handle | ||
575 | * @param ccr a connect request handle | ||
567 | */ | 576 | */ |
568 | void | 577 | void |
569 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (struct | 578 | GNUNET_TRANSPORT_TESTING_connect_peers_cancel (struct |
@@ -829,8 +838,9 @@ suc: | |||
829 | /** | 838 | /** |
830 | * This function takes the filename (e.g. argv[0), removes a "lt-"-prefix and | 839 | * This function takes the filename (e.g. argv[0), removes a "lt-"-prefix and |
831 | * if existing ".exe"-prefix and adds the peer-number | 840 | * if existing ".exe"-prefix and adds the peer-number |
841 | * | ||
832 | * @param file filename of the test, e.g. argv[0] | 842 | * @param file filename of the test, e.g. argv[0] |
833 | * @param cfgname where to write the result | 843 | * @param dest where to write the filename |
834 | * @param count peer number | 844 | * @param count peer number |
835 | */ | 845 | */ |
836 | void | 846 | void |