[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24152 - in gnunet/src: include testbed
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24152 - in gnunet/src: include testbed |
Date: |
Sun, 30 Sep 2012 23:32:16 +0200 |
Author: harsha
Date: 2012-09-30 23:32:16 +0200 (Sun, 30 Sep 2012)
New Revision: 24152
Modified:
gnunet/src/include/gnunet_testbed_service.h
gnunet/src/testbed/testbed_api.c
Log:
get slave config
Modified: gnunet/src/include/gnunet_testbed_service.h
===================================================================
--- gnunet/src/include/gnunet_testbed_service.h 2012-09-30 21:29:59 UTC (rev
24151)
+++ gnunet/src/include/gnunet_testbed_service.h 2012-09-30 21:32:16 UTC (rev
24152)
@@ -316,7 +316,6 @@
} operation_finished;
-
/**
* Details about an testbed run completed event.
*/
@@ -595,6 +594,24 @@
/**
+ * Function to acquire the configuration of a running slave controller. The
+ * completion of the operation is signalled through the controller_cb from
+ * GNUNET_TESTBED_controller_connect(). If the operation is successful the
+ * handle to the configuration is available in the generic pointer of
+ * operation_finished field of struct GNUNET_TESTBED_EventInformation.
+ *
+ * @param op_cls the closure for the operation
+ * @param master the handle to master controller
+ * @param slave_host the host where the slave controller is running
+ * @return the operation handle
+ */
+struct GNUNET_TESTBED_Operation *
+GNUNET_TESTBED_get_slave_config (void *op_cls,
+ struct GNUNET_TESTBED_Controller *master,
+ struct GNUNET_TESTBED_Host *slave_host);
+
+
+/**
* Functions of this signature are called when a peer has been successfully
* created
*
Modified: gnunet/src/testbed/testbed_api.c
===================================================================
--- gnunet/src/testbed/testbed_api.c 2012-09-30 21:29:59 UTC (rev 24151)
+++ gnunet/src/testbed/testbed_api.c 2012-09-30 21:32:16 UTC (rev 24152)
@@ -1661,6 +1661,28 @@
/**
+ * Function to acquire the configuration of a running slave controller. The
+ * completion of the operation is signalled through the controller_cb from
+ * GNUNET_TESTBED_controller_connect(). If the operation is successful the
+ * handle to the configuration is available in the generic pointer of
+ * operation_finished field of struct GNUNET_TESTBED_EventInformation.
+ *
+ * @param op_cls the closure for the operation
+ * @param master the handle to master controller
+ * @param slave_host the host where the slave controller is running
+ * @return the operation handle
+ */
+struct GNUNET_TESTBED_Operation *
+GNUNET_TESTBED_get_slave_config (void *op_cls,
+ struct GNUNET_TESTBED_Controller *master,
+ struct GNUNET_TESTBED_Host *slave_host)
+{
+ GNUNET_break (0);
+ return NULL;
+}
+
+
+/**
* Ask the testbed controller to write the current overlay topology to
* a file. Naturally, the file will only contain a snapshot as the
* topology may evolve all the time.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24152 - in gnunet/src: include testbed,
gnunet <=