diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-12 10:44:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-12 10:44:39 +0000 |
commit | 408d03be57dd4ddc3d401d9596952e2e4ebcbc41 (patch) | |
tree | b32c7f59627e9fbaca21f6524e8f3dc234a30d13 /src/testbed/testbed_api_hosts.c | |
parent | 7be14112c9baad0b15f2b810d9360914da1b481e (diff) | |
download | gnunet-408d03be57dd4ddc3d401d9596952e2e4ebcbc41.tar.gz gnunet-408d03be57dd4ddc3d401d9596952e2e4ebcbc41.zip |
triple star fun
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index 20e601265..cbbc9fdee 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -293,8 +293,17 @@ GNUNET_TESTBED_host_create (const char *hostname, const char *username, | |||
293 | */ | 293 | */ |
294 | unsigned int | 294 | unsigned int |
295 | GNUNET_TESTBED_hosts_load_from_file (const char *filename, | 295 | GNUNET_TESTBED_hosts_load_from_file (const char *filename, |
296 | struct GNUNET_TESTBED_Host **hosts) | 296 | struct GNUNET_TESTBED_Host ***hosts) |
297 | { | 297 | { |
298 | #if 0 | ||
299 | struct GNUNET_TESTBED_Host **host_array; | ||
300 | |||
301 | host_array = GNUNET_malloc (num_hosts * sizeof (struct GNUNET_TESTBED_Host *)); | ||
302 | host_array[foo] = GNUNET_TESTBED_host_create (...); | ||
303 | *hosts = host_array; | ||
304 | |||
305 | return num_hosts; | ||
306 | #endif | ||
298 | // see testing_group.c, GNUNET_TESTING_hosts_load | 307 | // see testing_group.c, GNUNET_TESTING_hosts_load |
299 | GNUNET_break (0); | 308 | GNUNET_break (0); |
300 | return 0; | 309 | return 0; |