diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-07 10:54:03 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-07 10:54:03 +0000 |
commit | ea931ffc94e1f8145c30c98da50cd5ae9dd5147a (patch) | |
tree | a7bb3b5f0fafddeeb00394a7ae83191267e51acd /src/include/gnunet_testing_lib.h | |
parent | ad25eef39dc8c15b85bd70c6585af95d7e687fd5 (diff) | |
download | gnunet-ea931ffc94e1f8145c30c98da50cd5ae9dd5147a.tar.gz gnunet-ea931ffc94e1f8145c30c98da50cd5ae9dd5147a.zip |
- add GNUNET_TESTING_peer_stop_async_cancel()
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index bf5e9e522..6bb92e05d 100644 --- a/src/include/gnunet_testing_lib.h +++ b/src/include/gnunet_testing_lib.h | |||
@@ -350,6 +350,19 @@ GNUNET_TESTING_peer_stop_async (struct GNUNET_TESTING_Peer *peer, | |||
350 | 350 | ||
351 | 351 | ||
352 | /** | 352 | /** |
353 | * Cancel a previous asynchronous peer stop request. | ||
354 | * GNUNET_TESTING_peer_stop_async() should have been called before on the given | ||
355 | * peer. It is an error to call this function if the peer stop callback was | ||
356 | * already called | ||
357 | * | ||
358 | * @param peer the peer on which GNUNET_TESTING_peer_stop_async() was called | ||
359 | * before. | ||
360 | */ | ||
361 | void | ||
362 | GNUNET_TESTING_peer_stop_async_cancel (struct GNUNET_TESTING_Peer *peer); | ||
363 | |||
364 | |||
365 | /** | ||
353 | * Signature of the 'main' function for a (single-peer) testcase that | 366 | * Signature of the 'main' function for a (single-peer) testcase that |
354 | * is run using 'GNUNET_TESTING_peer_run'. | 367 | * is run using 'GNUNET_TESTING_peer_run'. |
355 | * | 368 | * |