aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_topology.c
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_topology.c
parentd0c55c3ee57913977b1497ea0e6f20573820b206 (diff)
downloadgnunet-a94a1861d123fe850d2ab5ae74cbb59b132a15ea.tar.gz
gnunet-a94a1861d123fe850d2ab5ae74cbb59b132a15ea.zip
adhering to indentation standard
Diffstat (limited to 'src/testbed/testbed_api_topology.c')
-rw-r--r--src/testbed/testbed_api_topology.c39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/testbed/testbed_api_topology.c b/src/testbed/testbed_api_topology.c
index c0e9f7296..e21a2dbf2 100644
--- a/src/testbed/testbed_api_topology.c
+++ b/src/testbed/testbed_api_topology.c
@@ -40,10 +40,12 @@
40 */ 40 */
41struct GNUNET_TESTBED_Operation * 41struct GNUNET_TESTBED_Operation *
42GNUNET_TESTBED_underlay_configure_topology_va (void *op_cls, 42GNUNET_TESTBED_underlay_configure_topology_va (void *op_cls,
43 unsigned int num_peers, 43 unsigned int num_peers,
44 struct GNUNET_TESTBED_Peer **peers, 44 struct GNUNET_TESTBED_Peer
45 enum GNUNET_TESTBED_TopologyOption topo, 45 **peers,
46 va_list ap) 46 enum
47 GNUNET_TESTBED_TopologyOption
48 topo, va_list ap)
47{ 49{
48 GNUNET_break (0); 50 GNUNET_break (0);
49 return NULL; 51 return NULL;
@@ -63,10 +65,10 @@ GNUNET_TESTBED_underlay_configure_topology_va (void *op_cls,
63 */ 65 */
64struct GNUNET_TESTBED_Operation * 66struct GNUNET_TESTBED_Operation *
65GNUNET_TESTBED_underlay_configure_topology (void *op_cls, 67GNUNET_TESTBED_underlay_configure_topology (void *op_cls,
66 unsigned int num_peers, 68 unsigned int num_peers,
67 struct GNUNET_TESTBED_Peer **peers, 69 struct GNUNET_TESTBED_Peer **peers,
68 enum GNUNET_TESTBED_TopologyOption topo, 70 enum GNUNET_TESTBED_TopologyOption
69 ...) 71 topo, ...)
70{ 72{
71 GNUNET_break (0); 73 GNUNET_break (0);
72 return NULL; 74 return NULL;
@@ -83,16 +85,16 @@ GNUNET_TESTBED_underlay_configure_topology (void *op_cls,
83 * @param peers array of 'num_peers' with the peers to configure 85 * @param peers array of 'num_peers' with the peers to configure
84 * @param topo desired underlay topology to use 86 * @param topo desired underlay topology to use
85 * @param va topology-specific options 87 * @param va topology-specific options
86 * @return handle to the operation, NULL if connecting these 88 * @return handle to the operation, NULL if connecting these
87 * peers is fundamentally not possible at this time (peers 89 * peers is fundamentally not possible at this time (peers
88 * not running or underlay disallows) 90 * not running or underlay disallows)
89 */ 91 */
90struct GNUNET_TESTBED_Operation * 92struct GNUNET_TESTBED_Operation *
91GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls, 93GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls,
92 unsigned int num_peers, 94 unsigned int num_peers,
93 struct GNUNET_TESTBED_Peer *peers, 95 struct GNUNET_TESTBED_Peer *peers,
94 enum GNUNET_TESTBED_TopologyOption topo, 96 enum GNUNET_TESTBED_TopologyOption
95 va_list va) 97 topo, va_list va)
96{ 98{
97 GNUNET_break (0); 99 GNUNET_break (0);
98 return NULL; 100 return NULL;
@@ -109,16 +111,15 @@ GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls,
109 * @param peers array of 'num_peers' with the peers to configure 111 * @param peers array of 'num_peers' with the peers to configure
110 * @param topo desired underlay topology to use 112 * @param topo desired underlay topology to use
111 * @param ... topology-specific options 113 * @param ... topology-specific options
112 * @return handle to the operation, NULL if connecting these 114 * @return handle to the operation, NULL if connecting these
113 * peers is fundamentally not possible at this time (peers 115 * peers is fundamentally not possible at this time (peers
114 * not running or underlay disallows) 116 * not running or underlay disallows)
115 */ 117 */
116struct GNUNET_TESTBED_Operation * 118struct GNUNET_TESTBED_Operation *
117GNUNET_TESTBED_overlay_configure_topology (void *op_cls, 119GNUNET_TESTBED_overlay_configure_topology (void *op_cls, unsigned int num_peers,
118 unsigned int num_peers, 120 struct GNUNET_TESTBED_Peer *peers,
119 struct GNUNET_TESTBED_Peer *peers, 121 enum GNUNET_TESTBED_TopologyOption
120 enum GNUNET_TESTBED_TopologyOption topo, 122 topo, ...)
121 ...)
122{ 123{
123 GNUNET_break (0); 124 GNUNET_break (0);
124 return NULL; 125 return NULL;