diff options
Diffstat (limited to 'src/testbed/testbed_api_topology.c')
-rw-r--r-- | src/testbed/testbed_api_topology.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/testbed/testbed_api_topology.c b/src/testbed/testbed_api_topology.c index e68e449ad..46f7efc76 100644 --- a/src/testbed/testbed_api_topology.c +++ b/src/testbed/testbed_api_topology.c | |||
@@ -1250,17 +1250,6 @@ gen_topo_clique (struct TopologyContext *tc) | |||
1250 | } | 1250 | } |
1251 | 1251 | ||
1252 | 1252 | ||
1253 | /** | ||
1254 | * Configure overall network topology to have a particular shape. | ||
1255 | * | ||
1256 | * @param op_cls closure argument to give with the operation event | ||
1257 | * @param num_peers number of peers in @a peers | ||
1258 | * @param peers array of @a num_peers with the peers to configure | ||
1259 | * @param topo desired underlay topology to use | ||
1260 | * @param ap topology-specific options | ||
1261 | * @return handle to the operation, NULL if configuring the topology | ||
1262 | * is not allowed at this time | ||
1263 | */ | ||
1264 | struct GNUNET_TESTBED_Operation * | 1253 | struct GNUNET_TESTBED_Operation * |
1265 | GNUNET_TESTBED_underlay_configure_topology_va (void *op_cls, | 1254 | GNUNET_TESTBED_underlay_configure_topology_va (void *op_cls, |
1266 | unsigned int num_peers, | 1255 | unsigned int num_peers, |
@@ -1275,17 +1264,6 @@ GNUNET_TESTBED_underlay_configure_topology_va (void *op_cls, | |||
1275 | } | 1264 | } |
1276 | 1265 | ||
1277 | 1266 | ||
1278 | /** | ||
1279 | * Configure overall network topology to have a particular shape. | ||
1280 | * | ||
1281 | * @param op_cls closure argument to give with the operation event | ||
1282 | * @param num_peers number of peers in @a peers | ||
1283 | * @param peers array of @a num_peers with the peers to configure | ||
1284 | * @param topo desired underlay topology to use | ||
1285 | * @param ... topology-specific options | ||
1286 | * @return handle to the operation, NULL if configuring the topology | ||
1287 | * is not allowed at this time | ||
1288 | */ | ||
1289 | struct GNUNET_TESTBED_Operation * | 1267 | struct GNUNET_TESTBED_Operation * |
1290 | GNUNET_TESTBED_underlay_configure_topology (void *op_cls, | 1268 | GNUNET_TESTBED_underlay_configure_topology (void *op_cls, |
1291 | unsigned int num_peers, | 1269 | unsigned int num_peers, |
@@ -1298,26 +1276,6 @@ GNUNET_TESTBED_underlay_configure_topology (void *op_cls, | |||
1298 | } | 1276 | } |
1299 | 1277 | ||
1300 | 1278 | ||
1301 | /** | ||
1302 | * All peers must have been started before calling this function. | ||
1303 | * This function then connects the given peers in the P2P overlay | ||
1304 | * using the given topology. | ||
1305 | * | ||
1306 | * @param op_cls closure argument to give with the peer connect operation events | ||
1307 | * generated through this function | ||
1308 | * @param num_peers number of peers in @a peers | ||
1309 | * @param peers array of @a num_peers with the peers to configure | ||
1310 | * @param max_connections the maximums number of overlay connections that will | ||
1311 | * be made to achieve the given topology | ||
1312 | * @param comp_cb the completion callback to call when the topology generation | ||
1313 | * is completed | ||
1314 | * @param comp_cb_cls closure for the above completion callback | ||
1315 | * @param topo desired underlay topology to use | ||
1316 | * @param va topology-specific options | ||
1317 | * @return handle to the operation, NULL if connecting these | ||
1318 | * peers is fundamentally not possible at this time (peers | ||
1319 | * not running or underlay disallows) or if num_peers is less than 2 | ||
1320 | */ | ||
1321 | struct GNUNET_TESTBED_Operation * | 1279 | struct GNUNET_TESTBED_Operation * |
1322 | GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls, | 1280 | GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls, |
1323 | unsigned int num_peers, | 1281 | unsigned int num_peers, |