summaryrefslogtreecommitdiff
path: root/src/include/gnunet_testbed_service.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-04-10 14:41:35 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-04-10 14:41:35 +0000
commit77e2b5831b45e6a22c5218cbcfb46175c3411a66 (patch)
treeeb6b14d4dcc43cc7fbe6f5a116a8d1a5d4e81da4 /src/include/gnunet_testbed_service.h
parentf4446e40904ba3f3177a8eaf1f9756e48dcc03a9 (diff)
- use host's configuration while starting controller on the host
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r--src/include/gnunet_testbed_service.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index 61b347e78..86e3cd194 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -436,21 +436,19 @@ typedef void (*GNUNET_TESTBED_ControllerStatusCallback) (void *cls,
/**
- * Starts a controller process at the given host.
+ * Starts a controller process at the given host. The given host's configration
+ * is used as a Template configuration to use for the remote controller; the
+ * remote controller will be started with a slightly modified configuration
+ * (port numbers, unix domain sockets and service home values are changed as per
+ * TESTING library on the remote host). The modified configuration replaces the
+ * host's existing configuration before signalling success through the
+ * GNUNET_TESTBED_ControllerStatusCallback()
*
* @param trusted_ip the ip address of the controller which will be set as TRUSTED
* HOST(all connections form this ip are permitted by the testbed) when
* starting testbed controller at host. This can either be a single ip
* address or a network address in CIDR notation.
- * @param host the host where the controller has to be started; NULL for
- * localhost
- * @param cfg template configuration to use for the remote controller; the
- * remote controller will be started with a slightly modified
- * configuration (port numbers, unix domain sockets and service home
- * values are changed as per TESTING library on the remote host). The
- * modified configuration replaces the host's existing configuration
- * before signalling success through the
- * GNUNET_TESTBED_ControllerStatusCallback()
+ * @param host the host where the controller has to be started. CANNOT be NULL.
* @param cb function called when the controller is successfully started or
* dies unexpectedly; GNUNET_TESTBED_controller_stop shouldn't be
* called if cb is called with GNUNET_SYSERR as status. Will never be
@@ -463,7 +461,6 @@ typedef void (*GNUNET_TESTBED_ControllerStatusCallback) (void *cls,
struct GNUNET_TESTBED_ControllerProc *
GNUNET_TESTBED_controller_start (const char *trusted_ip,
struct GNUNET_TESTBED_Host *host,
- const struct GNUNET_CONFIGURATION_Handle *cfg,
GNUNET_TESTBED_ControllerStatusCallback cb,
void *cls);