aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_operations.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-03-13 10:51:45 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-03-13 10:51:45 +0000
commit0043aada3f5172d461f89eecc9138b6a1754ca14 (patch)
tree6970bdc8d0acf430db3b6dee674149a2aeb9273a /src/testbed/testbed_api_operations.h
parente27e2a35da519f85d7597890557f83a4d432e414 (diff)
downloadgnunet-0043aada3f5172d461f89eecc9138b6a1754ca14.tar.gz
gnunet-0043aada3f5172d461f89eecc9138b6a1754ca14.zip
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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_operations.h b/src/testbed/testbed_api_operations.h
index 61b45e236..403dd889c 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);
59 59
60 60
61/** 61/**
62 * Destroys the operation queue if it is empty. If not empty return GNUNET_NO.
63 *
64 * @param queue the queue to destroy if empty
65 * @return GNUNET_YES if the queue is destroyed. GNUNET_NO if not (because it
66 * is not empty)
67 */
68int
69GNUNET_TESTBED_operation_queue_destroy_empty_ (struct OperationQueue *q);
70
71
72/**
62 * Function to reset the maximum number of operations in the given queue. If 73 * Function to reset the maximum number of operations in the given queue. If
63 * max_active is lesser than the number of currently active operations, the 74 * max_active is lesser than the number of currently active operations, the
64 * active operations are not stopped immediately. 75 * active operations are not stopped immediately.