aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_operations.h
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.h
parentd8e53a1c1b4df4ed7e85447174bbfe7e7657f5d3 (diff)
downloadgnunet-e8e09d1eab1492ee4676aadbfb047386c3ccd466.tar.gz
gnunet-e8e09d1eab1492ee4676aadbfb047386c3ccd466.zip
-removed operation type
Diffstat (limited to 'src/testbed/testbed_api_operations.h')
-rw-r--r--src/testbed/testbed_api_operations.h43
1 files changed, 1 insertions, 42 deletions
diff --git a/src/testbed/testbed_api_operations.h b/src/testbed/testbed_api_operations.h
index 92f5644c9..08d6df2c0 100644
--- a/src/testbed/testbed_api_operations.h
+++ b/src/testbed/testbed_api_operations.h
@@ -38,44 +38,6 @@ struct OperationQueue;
38 38
39 39
40/** 40/**
41 * Enumeration of operation types
42 */
43enum OperationType
44 {
45 /**
46 * Peer create operation
47 */
48 OP_PEER_CREATE,
49
50 /**
51 * Peer start operation
52 */
53 OP_PEER_START,
54
55 /**
56 * Peer stop operation
57 */
58 OP_PEER_STOP,
59
60 /**
61 * Peer destroy operation
62 */
63 OP_PEER_DESTROY,
64
65 /**
66 * Get peer information operation
67 */
68 OP_PEER_INFO,
69
70 /**
71 * Overlay connection operation
72 */
73 OP_OVERLAY_CONNECT,
74
75 };
76
77
78/**
79 * Create an operation queue. 41 * Create an operation queue.
80 * 42 *
81 * @param max_active maximum number of operations in this 43 * @param max_active maximum number of operations in this
@@ -160,15 +122,12 @@ typedef void (*OperationRelease)(void *cls);
160 * @param cls closure for the callbacks 122 * @param cls closure for the callbacks
161 * @param start function to call to start the operation 123 * @param start function to call to start the operation
162 * @param release function to call to close down the operation 124 * @param release function to call to close down the operation
163 * @param type the type of the operation
164 * @param data operation's relavant data
165 * @return handle to the operation 125 * @return handle to the operation
166 */ 126 */
167struct GNUNET_TESTBED_Operation * 127struct GNUNET_TESTBED_Operation *
168GNUNET_TESTBED_operation_create_ (void *cls, 128GNUNET_TESTBED_operation_create_ (void *cls,
169 OperationStart start, 129 OperationStart start,
170 OperationRelease release, 130 OperationRelease release);
171 enum OperationType type);
172 131
173 132
174/** 133/**