diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-06-28 12:22:13 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-06-28 12:22:13 +0000 |
commit | 18a7236ceb7e05e04c4a8736511821392516b78b (patch) | |
tree | 7ccf7d0d485b3d8c08ec092ff32c84fc7ab8fd55 | |
parent | 134afc9acfb4b12c84cdf8b56b2eabb856fde3e7 (diff) | |
download | gnunet-18a7236ceb7e05e04c4a8736511821392516b78b.tar.gz gnunet-18a7236ceb7e05e04c4a8736511821392516b78b.zip |
callback for peergroup shutdown in testing, api change
-rw-r--r-- | src/include/gnunet_testing_lib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index 627a90694..8d35e845f 100644 --- a/src/include/gnunet_testing_lib.h +++ b/src/include/gnunet_testing_lib.h | |||
@@ -549,10 +549,14 @@ GNUNET_TESTING_daemons_restart (struct GNUNET_TESTING_PeerGroup *pg, | |||
549 | * | 549 | * |
550 | * @param pg handle to the peer group | 550 | * @param pg handle to the peer group |
551 | * @param timeout how long to wait for shutdown | 551 | * @param timeout how long to wait for shutdown |
552 | * @param cb callback to notify upon success or failure | ||
553 | * @param cb_cls closure for cb | ||
552 | */ | 554 | */ |
553 | void | 555 | void |
554 | GNUNET_TESTING_daemons_stop (struct GNUNET_TESTING_PeerGroup *pg, | 556 | GNUNET_TESTING_daemons_stop (struct GNUNET_TESTING_PeerGroup *pg, |
555 | struct GNUNET_TIME_Relative timeout); | 557 | struct GNUNET_TIME_Relative timeout, |
558 | GNUNET_TESTING_NotifyCompletion cb, | ||
559 | void *cb_cls); | ||
556 | 560 | ||
557 | 561 | ||
558 | /** | 562 | /** |