diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-17 12:12:05 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-17 12:12:05 +0000 |
commit | d13336f8ed7f3758fb2db45fd07496b34910952f (patch) | |
tree | d68b8db647126cf02ffcc575a17cbd0ffbfc1abf /src/testbed/testbed_api_hosts.h | |
parent | 0a165cbfd7e5391ed16a4f9e43c8bb7ad72ad528 (diff) | |
download | gnunet-d13336f8ed7f3758fb2db45fd07496b34910952f.tar.gz gnunet-d13336f8ed7f3758fb2db45fd07496b34910952f.zip |
separated helper init message
Diffstat (limited to 'src/testbed/testbed_api_hosts.h')
-rw-r--r-- | src/testbed/testbed_api_hosts.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/testbed/testbed_api_hosts.h b/src/testbed/testbed_api_hosts.h index b9a62698c..cc88d78a3 100644 --- a/src/testbed/testbed_api_hosts.h +++ b/src/testbed/testbed_api_hosts.h | |||
@@ -23,11 +23,12 @@ | |||
23 | * @brief internal API to access the 'hosts' subsystem | 23 | * @brief internal API to access the 'hosts' subsystem |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | |||
26 | #ifndef NEW_TESTING_API_HOSTS_H | 27 | #ifndef NEW_TESTING_API_HOSTS_H |
27 | #define NEW_TESTING_API_HOSTS_H | 28 | #define NEW_TESTING_API_HOSTS_H |
28 | 29 | ||
29 | #include "gnunet_testbed_service.h" | 30 | #include "gnunet_testbed_service.h" |
30 | #include "gnunet_helper_lib.h" | 31 | #include "testbed_helper.h" |
31 | 32 | ||
32 | 33 | ||
33 | /** | 34 | /** |
@@ -181,5 +182,20 @@ GNUNET_TESTBED_is_host_registered_ (const struct GNUNET_TESTBED_Host *host, | |||
181 | const struct GNUNET_TESTBED_Controller | 182 | const struct GNUNET_TESTBED_Controller |
182 | *controller); | 183 | *controller); |
183 | 184 | ||
185 | |||
186 | /** | ||
187 | * Creates a helper initialization message. Only for testing. | ||
188 | * | ||
189 | * @param cname the ip address of the controlling host | ||
190 | * @param cfg the configuration that has to used to start the testbed service | ||
191 | * thru helper | ||
192 | * @return the initialization message | ||
193 | */ | ||
194 | struct GNUNET_TESTBED_HelperInit * | ||
195 | GNUNET_TESTBED_create_helper_init_msg_ (const char *cname, | ||
196 | const struct GNUNET_CONFIGURATION_Handle *cfg); | ||
197 | |||
198 | |||
199 | |||
184 | #endif | 200 | #endif |
185 | /* end of testbed_api_hosts.h */ | 201 | /* end of testbed_api_hosts.h */ |