aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed_api_topology.c')
-rw-r--r--src/testbed/testbed_api_topology.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/testbed/testbed_api_topology.c b/src/testbed/testbed_api_topology.c
index 46f7efc76..f73be378e 100644
--- a/src/testbed/testbed_api_topology.c
+++ b/src/testbed/testbed_api_topology.c
@@ -637,18 +637,6 @@ gen_topo_ring (struct TopologyContext *tc)
637} 637}
638 638
639 639
640/**
641 * Returns the number of links that are required to generate a 2d torus for the
642 * given number of peers. Also returns the arrangement (number of rows and the
643 * length of each row)
644 *
645 * @param num_peers number of peers
646 * @param rows number of rows in the 2d torus. Can be NULL
647 * @param rows_len the length of each row. This array will be allocated
648 * fresh. The caller should free it. Can be NULL
649 * @return the number of links that are required to generate a 2d torus for the
650 * given number of peers
651 */
652unsigned int 640unsigned int
653GNUNET_TESTBED_2dtorus_calc_links (unsigned int num_peers, unsigned int *rows, 641GNUNET_TESTBED_2dtorus_calc_links (unsigned int num_peers, unsigned int *rows,
654 unsigned int **rows_len) 642 unsigned int **rows_len)
@@ -1454,15 +1442,6 @@ GNUNET_TESTBED_overlay_configure_topology (void *op_cls,
1454} 1442}
1455 1443
1456 1444
1457/**
1458 * Get a topology from a string input.
1459 *
1460 * @param topology where to write the retrieved topology
1461 * @param topology_string The string to attempt to
1462 * get a configuration value from
1463 * @return #GNUNET_YES if topology string matched a
1464 * known topology, #GNUNET_NO if not
1465 */
1466int 1445int
1467GNUNET_TESTBED_topology_get_ (enum GNUNET_TESTBED_TopologyOption *topology, 1446GNUNET_TESTBED_topology_get_ (enum GNUNET_TESTBED_TopologyOption *topology,
1468 const char *topology_string) 1447 const char *topology_string)