diff options
Diffstat (limited to 'src/testbed/testbed_api_operations.h')
-rw-r--r-- | src/testbed/testbed_api_operations.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/testbed/testbed_api_operations.h b/src/testbed/testbed_api_operations.h index 8ab6944f2..1950cd7d1 100644 --- a/src/testbed/testbed_api_operations.h +++ b/src/testbed/testbed_api_operations.h | |||
@@ -89,14 +89,14 @@ GNUNET_TESTBED_operation_queue_reset_max_active_ (struct OperationQueue *queue, | |||
89 | * waiting for the operation to become active. | 89 | * waiting for the operation to become active. |
90 | * | 90 | * |
91 | * @param queue queue to add the operation to | 91 | * @param queue queue to add the operation to |
92 | * @param operation operation to add to the queue | 92 | * @param op operation to add to the queue |
93 | * @param nres the number of units of the resources of queue needed by the | 93 | * @param nres the number of units of the resources of queue needed by the |
94 | * operation. Should be greater than 0. | 94 | * operation. Should be greater than 0. |
95 | */ | 95 | */ |
96 | void | 96 | void |
97 | GNUNET_TESTBED_operation_queue_insert2_ (struct OperationQueue *queue, | 97 | GNUNET_TESTBED_operation_queue_insert2_ (struct OperationQueue *queue, |
98 | struct GNUNET_TESTBED_Operation | 98 | struct GNUNET_TESTBED_Operation *op, |
99 | *operation, unsigned int nres); | 99 | unsigned int nres); |
100 | 100 | ||
101 | 101 | ||
102 | /** | 102 | /** |
@@ -106,12 +106,11 @@ GNUNET_TESTBED_operation_queue_insert2_ (struct OperationQueue *queue, | |||
106 | * waiting for the operation to become active. | 106 | * waiting for the operation to become active. |
107 | * | 107 | * |
108 | * @param queue queue to add the operation to | 108 | * @param queue queue to add the operation to |
109 | * @param operation operation to add to the queue | 109 | * @param op operation to add to the queue |
110 | */ | 110 | */ |
111 | void | 111 | void |
112 | GNUNET_TESTBED_operation_queue_insert_ (struct OperationQueue *queue, | 112 | GNUNET_TESTBED_operation_queue_insert_ (struct OperationQueue *queue, |
113 | struct GNUNET_TESTBED_Operation | 113 | struct GNUNET_TESTBED_Operation *op); |
114 | *operation); | ||
115 | 114 | ||
116 | 115 | ||
117 | /** | 116 | /** |
@@ -121,11 +120,10 @@ GNUNET_TESTBED_operation_queue_insert_ (struct OperationQueue *queue, | |||
121 | * insertions to be made without having the first one instantly trigger the | 120 | * insertions to be made without having the first one instantly trigger the |
122 | * operation if the first queue has sufficient resources). | 121 | * operation if the first queue has sufficient resources). |
123 | * | 122 | * |
124 | * @param operation the operation to marks as waiting | 123 | * @param op the operation to marks as waiting |
125 | */ | 124 | */ |
126 | void | 125 | void |
127 | GNUNET_TESTBED_operation_begin_wait_ (struct GNUNET_TESTBED_Operation | 126 | GNUNET_TESTBED_operation_begin_wait_ (struct GNUNET_TESTBED_Operation *op); |
128 | *operation); | ||
129 | 127 | ||
130 | 128 | ||
131 | /** | 129 | /** |
@@ -135,12 +133,11 @@ GNUNET_TESTBED_operation_begin_wait_ (struct GNUNET_TESTBED_Operation | |||
135 | * thus scheduling the operation is no longer required. | 133 | * thus scheduling the operation is no longer required. |
136 | * | 134 | * |
137 | * @param queue queue to add the operation to | 135 | * @param queue queue to add the operation to |
138 | * @param operation operation to add to the queue | 136 | * @param op operation to add to the queue |
139 | */ | 137 | */ |
140 | void | 138 | void |
141 | GNUNET_TESTBED_operation_queue_remove_ (struct OperationQueue *queue, | 139 | GNUNET_TESTBED_operation_queue_remove_ (struct OperationQueue *queue, |
142 | struct GNUNET_TESTBED_Operation | 140 | struct GNUNET_TESTBED_Operation *op); |
143 | *operation); | ||
144 | 141 | ||
145 | 142 | ||
146 | 143 | ||
@@ -187,10 +184,10 @@ GNUNET_TESTBED_operation_create_ (void *cls, OperationStart start, | |||
187 | * An operation is 'done' (was cancelled or finished); remove | 184 | * An operation is 'done' (was cancelled or finished); remove |
188 | * it from the queues and release associated resources. | 185 | * it from the queues and release associated resources. |
189 | * | 186 | * |
190 | * @param operation operation that finished | 187 | * @param op operation that finished |
191 | */ | 188 | */ |
192 | void | 189 | void |
193 | GNUNET_TESTBED_operation_release_ (struct GNUNET_TESTBED_Operation *operation); | 190 | GNUNET_TESTBED_operation_release_ (struct GNUNET_TESTBED_Operation *op); |
194 | 191 | ||
195 | 192 | ||
196 | #endif | 193 | #endif |