From: Nathan S. Evans Date: Mon, 28 Jun 2010 12:22:13 +0000 (+0000) Subject: callback for peergroup shutdown in testing, api change X-Git-Tag: initial-import-from-subversion-38251~21164 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18a7236ceb7e05e04c4a8736511821392516b78b;p=oweals%2Fgnunet.git callback for peergroup shutdown in testing, api change --- 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, * * @param pg handle to the peer group * @param timeout how long to wait for shutdown + * @param cb callback to notify upon success or failure + * @param cb_cls closure for cb */ void GNUNET_TESTING_daemons_stop (struct GNUNET_TESTING_PeerGroup *pg, - struct GNUNET_TIME_Relative timeout); + struct GNUNET_TIME_Relative timeout, + GNUNET_TESTING_NotifyCompletion cb, + void *cb_cls); /**