callback for peergroup shutdown in testing, api change
authorNathan S. Evans <evans@in.tum.de>
Mon, 28 Jun 2010 12:22:13 +0000 (12:22 +0000)
committerNathan S. Evans <evans@in.tum.de>
Mon, 28 Jun 2010 12:22:13 +0000 (12:22 +0000)
src/include/gnunet_testing_lib.h

index 627a90694530e141fd627a3e4aaa17abf040744b..8d35e845f53c8f2b485a05ae3431a70ccd9b9ed6 100644 (file)
@@ -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);
 
 
 /**