aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_operations.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-07-31 07:57:48 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-07-31 07:57:48 +0000
commite8e09d1eab1492ee4676aadbfb047386c3ccd466 (patch)
tree1df7942b0290425d52366ca0229604de3771f26a /src/testbed/testbed_api_operations.c
parentd8e53a1c1b4df4ed7e85447174bbfe7e7657f5d3 (diff)
downloadgnunet-e8e09d1eab1492ee4676aadbfb047386c3ccd466.tar.gz
gnunet-e8e09d1eab1492ee4676aadbfb047386c3ccd466.zip
-removed operation type
Diffstat (limited to 'src/testbed/testbed_api_operations.c')
-rw-r--r--src/testbed/testbed_api_operations.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/testbed/testbed_api_operations.c b/src/testbed/testbed_api_operations.c
index 72cb8465e..5758e2aa9 100644
--- a/src/testbed/testbed_api_operations.c
+++ b/src/testbed/testbed_api_operations.c
@@ -116,11 +116,6 @@ struct GNUNET_TESTBED_Operation
116 struct OperationQueue **queues; 116 struct OperationQueue **queues;
117 117
118 /** 118 /**
119 * The Operation ID
120 */
121 uint64_t id;
122
123 /**
124 * The id of the task which calls OperationStart for this operation 119 * The id of the task which calls OperationStart for this operation
125 */ 120 */
126 GNUNET_SCHEDULER_TaskIdentifier start_task_id; 121 GNUNET_SCHEDULER_TaskIdentifier start_task_id;
@@ -135,11 +130,6 @@ struct GNUNET_TESTBED_Operation
135 */ 130 */
136 enum OperationState state; 131 enum OperationState state;
137 132
138 /**
139 * The type of the operation
140 */
141 enum OperationType type;
142
143}; 133};
144 134
145 135
@@ -193,14 +183,12 @@ check_readiness (struct GNUNET_TESTBED_Operation *op)
193 * @param cls closure for the callbacks 183 * @param cls closure for the callbacks
194 * @param start function to call to start the operation 184 * @param start function to call to start the operation
195 * @param release function to call to close down the operation 185 * @param release function to call to close down the operation
196 * @param type the type of the operation
197 * @return handle to the operation 186 * @return handle to the operation
198 */ 187 */
199struct GNUNET_TESTBED_Operation * 188struct GNUNET_TESTBED_Operation *
200GNUNET_TESTBED_operation_create_ (void *cls, 189GNUNET_TESTBED_operation_create_ (void *cls,
201 OperationStart start, 190 OperationStart start,
202 OperationRelease release, 191 OperationRelease release)
203 enum OperationType type)
204{ 192{
205 struct GNUNET_TESTBED_Operation *op; 193 struct GNUNET_TESTBED_Operation *op;
206 194
@@ -208,7 +196,6 @@ GNUNET_TESTBED_operation_create_ (void *cls,
208 op->start = start; 196 op->start = start;
209 op->release = release; 197 op->release = release;
210 op->cb_cls = cls; 198 op->cb_cls = cls;
211 op->type = type;
212 return op; 199 return op;
213} 200}
214 201