diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-13 10:51:45 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-03-13 10:51:45 +0000 |
commit | 0043aada3f5172d461f89eecc9138b6a1754ca14 (patch) | |
tree | 6970bdc8d0acf430db3b6dee674149a2aeb9273a /src/testbed/testbed_api_operations.h | |
parent | e27e2a35da519f85d7597890557f83a4d432e414 (diff) |
Implement GNUNET_TESTBED_get_statistics() - resolves #2662
Test case for testing GNUNET_TESTBED_get_statistics()
Fix waiting for SHUTDOWN_PEERS reply when controller crashes
Diffstat (limited to 'src/testbed/testbed_api_operations.h')
-rw-r--r-- | src/testbed/testbed_api_operations.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_operations.h b/src/testbed/testbed_api_operations.h index 61b45e2365..403dd889c0 100644 --- a/src/testbed/testbed_api_operations.h +++ b/src/testbed/testbed_api_operations.h @@ -59,6 +59,17 @@ GNUNET_TESTBED_operation_queue_destroy_ (struct OperationQueue *queue); /** + * Destroys the operation queue if it is empty. If not empty return GNUNET_NO. + * + * @param queue the queue to destroy if empty + * @return GNUNET_YES if the queue is destroyed. GNUNET_NO if not (because it + * is not empty) + */ +int +GNUNET_TESTBED_operation_queue_destroy_empty_ (struct OperationQueue *q); + + +/** * Function to reset the maximum number of operations in the given queue. If * max_active is lesser than the number of currently active operations, the * active operations are not stopped immediately. |