aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testbed_service.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-04-21 20:01:34 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-04-21 20:01:34 +0000
commitda683835112d7510461269a81363dcaf23af4b9b (patch)
tree5c4e530a304c315f132a18e0f9d938d04b9e94de /src/include/gnunet_testbed_service.h
parente823f8b9a57844dc90afed91076117eea7cb85ea (diff)
downloadgnunet-da683835112d7510461269a81363dcaf23af4b9b.tar.gz
gnunet-da683835112d7510461269a81363dcaf23af4b9b.zip
fix #2666: Implement service sharing among peers
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r--src/include/gnunet_testbed_service.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index 9b92d4856..f19122978 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -501,25 +501,6 @@ GNUNET_TESTBED_controller_connect (struct GNUNET_TESTBED_Host *host,
501 501
502 502
503/** 503/**
504 * Configure shared services at a controller. Using this function,
505 * you can specify that certain services (such as "resolver")
506 * should not be run for each peer but instead be shared
507 * across N peers on the specified host. This function
508 * must be called before any peers are created at the host.
509 *
510 * @param controller controller to configure
511 * @param service_name name of the service to share
512 * @param num_peers number of peers that should share one instance
513 * of the specified service (1 for no sharing is the default),
514 * use 0 to disable the service
515 */
516void
517GNUNET_TESTBED_controller_configure_sharing (struct GNUNET_TESTBED_Controller *controller,
518 const char *service_name,
519 uint32_t num_peers);
520
521
522/**
523 * Stop the given controller (also will terminate all peers and 504 * Stop the given controller (also will terminate all peers and
524 * controllers dependent on this controller). This function 505 * controllers dependent on this controller). This function
525 * blocks until the testbed has been fully terminated (!). 506 * blocks until the testbed has been fully terminated (!).