aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testbed_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-14 09:25:54 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-14 09:25:54 +0000
commitda1f2411d623d100d9df6a72c6081ccaccc23d13 (patch)
tree81fd3d43d9f7220896aa6367469daa1ba479fb4a /src/include/gnunet_testbed_service.h
parent3ced678ccb6e8c7ceacc96bfc0281470b81c189d (diff)
downloadgnunet-da1f2411d623d100d9df6a72c6081ccaccc23d13.tar.gz
gnunet-da1f2411d623d100d9df6a72c6081ccaccc23d13.zip
-testbed hackery
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r--src/include/gnunet_testbed_service.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index 6b50efe97..a3f092172 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -88,6 +88,26 @@ GNUNET_TESTBED_host_create (const char *hostname,
88 uint16_t port); 88 uint16_t port);
89 89
90 90
91
92/**
93 * Create a host to run peers and controllers on. This function is used
94 * if a peer learns about a host via IPC between controllers (and thus
95 * some higher-level controller has already determined the unique IDs).
96 *
97 * @param id global host ID assigned to the host; 0 is
98 * reserved to always mean 'localhost'
99 * @param hostname name of the host, use "NULL" for localhost
100 * @param username username to use for the login; may be NULL
101 * @param port port number to use for ssh; use 0 to let ssh decide
102 * @return handle to the host, NULL on error
103 */
104struct GNUNET_TESTBED_Host *
105GNUNET_TESTBED_host_create_with_id (uint32_t id,
106 const char *hostname,
107 const char *username,
108 uint16_t port);
109
110
91/** 111/**
92 * Load a set of hosts from a configuration file. 112 * Load a set of hosts from a configuration file.
93 * 113 *
@@ -785,7 +805,6 @@ GNUNET_TESTBED_overlay_configure_topology (void *op_cls,
785 ...); 805 ...);
786 806
787 807
788
789/** 808/**
790 * Ask the testbed controller to write the current overlay topology to 809 * Ask the testbed controller to write the current overlay topology to
791 * a file. Naturally, the file will only contain a snapshot as the 810 * a file. Naturally, the file will only contain a snapshot as the