aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_operations.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-08-31 10:36:28 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-08-31 10:36:28 +0000
commita94a1861d123fe850d2ab5ae74cbb59b132a15ea (patch)
treea16d2518067d13f2463e83cd9dc66bdd6b733621 /src/testbed/testbed_api_operations.h
parentd0c55c3ee57913977b1497ea0e6f20573820b206 (diff)
downloadgnunet-a94a1861d123fe850d2ab5ae74cbb59b132a15ea.tar.gz
gnunet-a94a1861d123fe850d2ab5ae74cbb59b132a15ea.zip
adhering to indentation standard
Diffstat (limited to 'src/testbed/testbed_api_operations.h')
-rw-r--r--src/testbed/testbed_api_operations.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/testbed/testbed_api_operations.h b/src/testbed/testbed_api_operations.h
index 08d6df2c0..519c68139 100644
--- a/src/testbed/testbed_api_operations.h
+++ b/src/testbed/testbed_api_operations.h
@@ -62,9 +62,9 @@ GNUNET_TESTBED_operation_queue_destroy_ (struct OperationQueue *queue);
62 * Add an operation to a queue. An operation can be in multiple 62 * Add an operation to a queue. An operation can be in multiple
63 * queues at once. Once all queues permit the operation to become 63 * queues at once. Once all queues permit the operation to become
64 * active, the operation will be activated. The actual activation 64 * active, the operation will be activated. The actual activation
65 * will occur in a separate task (thus allowing multiple queue 65 * will occur in a separate task (thus allowing multiple queue
66 * insertions to be made without having the first one instantly 66 * insertions to be made without having the first one instantly
67 * trigger the operation if the first queue has sufficient 67 * trigger the operation if the first queue has sufficient
68 * resources). 68 * resources).
69 * 69 *
70 * @param queue queue to add the operation to 70 * @param queue queue to add the operation to
@@ -72,7 +72,8 @@ GNUNET_TESTBED_operation_queue_destroy_ (struct OperationQueue *queue);
72 */ 72 */
73void 73void
74GNUNET_TESTBED_operation_queue_insert_ (struct OperationQueue *queue, 74GNUNET_TESTBED_operation_queue_insert_ (struct OperationQueue *queue,
75 struct GNUNET_TESTBED_Operation *operation); 75 struct GNUNET_TESTBED_Operation
76 *operation);
76 77
77 78
78/** 79/**
@@ -86,7 +87,8 @@ GNUNET_TESTBED_operation_queue_insert_ (struct OperationQueue *queue,
86 */ 87 */
87void 88void
88GNUNET_TESTBED_operation_queue_remove_ (struct OperationQueue *queue, 89GNUNET_TESTBED_operation_queue_remove_ (struct OperationQueue *queue,
89 struct GNUNET_TESTBED_Operation *operation); 90 struct GNUNET_TESTBED_Operation
91 *operation);
90 92
91 93
92 94
@@ -97,7 +99,7 @@ GNUNET_TESTBED_operation_queue_remove_ (struct OperationQueue *queue,
97 * 99 *
98 * @param cls the closure from GNUNET_TESTBED_operation_create_() 100 * @param cls the closure from GNUNET_TESTBED_operation_create_()
99 */ 101 */
100typedef void (*OperationStart)(void *cls); 102typedef void (*OperationStart) (void *cls);
101 103
102 104
103/** 105/**
@@ -113,7 +115,7 @@ typedef void (*OperationStart)(void *cls);
113 * 115 *
114 * @param cls the closure from GNUNET_TESTBED_operation_create_() 116 * @param cls the closure from GNUNET_TESTBED_operation_create_()
115 */ 117 */
116typedef void (*OperationRelease)(void *cls); 118typedef void (*OperationRelease) (void *cls);
117 119
118 120
119/** 121/**
@@ -125,9 +127,8 @@ typedef void (*OperationRelease)(void *cls);
125 * @return handle to the operation 127 * @return handle to the operation
126 */ 128 */
127struct GNUNET_TESTBED_Operation * 129struct GNUNET_TESTBED_Operation *
128GNUNET_TESTBED_operation_create_ (void *cls, 130GNUNET_TESTBED_operation_create_ (void *cls, OperationStart start,
129 OperationStart start, 131 OperationRelease release);
130 OperationRelease release);
131 132
132 133
133/** 134/**