aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_peers.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-12-10 12:41:05 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-12-10 12:41:05 +0000
commitb66f3385442b7f18c35488b300991da8467f5960 (patch)
treed14d5ffe0478c61d5e0c4e1a326c628c756f2529 /src/testbed/testbed_api_peers.h
parent4a2e78d14cbce252601d20f2f0795dd03aa34ef9 (diff)
downloadgnunet-b66f3385442b7f18c35488b300991da8467f5960.tar.gz
gnunet-b66f3385442b7f18c35488b300991da8467f5960.zip
- cleanup
Diffstat (limited to 'src/testbed/testbed_api_peers.h')
-rw-r--r--src/testbed/testbed_api_peers.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/testbed/testbed_api_peers.h b/src/testbed/testbed_api_peers.h
index f16dd8a30..13eb1d036 100644
--- a/src/testbed/testbed_api_peers.h
+++ b/src/testbed/testbed_api_peers.h
@@ -248,48 +248,6 @@ struct OverlayConnectData
248}; 248};
249 249
250 250
251
252/**
253 * Create the given peer at the specified host using the given
254 * controller. If the given controller is not running on the target
255 * host, it should find or create a controller at the target host and
256 * delegate creating the peer. Explicit delegation paths can be setup
257 * using 'GNUNET_TESTBED_controller_link'. If no explicit delegation
258 * path exists, a direct link with a subordinate controller is setup
259 * for the first delegated peer to a particular host; the subordinate
260 * controller is then destroyed once the last peer that was delegated
261 * to the remote host is stopped. This function is used in particular
262 * if some other controller has already assigned a unique ID to the
263 * peer.
264 *
265 * Creating the peer only creates the handle to manipulate and further
266 * configure the peer; use "GNUNET_TESTBED_peer_start" and
267 * "GNUNET_TESTBED_peer_stop" to actually start/stop the peer's
268 * processes.
269 *
270 * Note that the given configuration will be adjusted by the
271 * controller to avoid port/path conflicts with other peers.
272 * The "final" configuration can be obtained using
273 * 'GNUNET_TESTBED_peer_get_information'.
274 *
275 * @param unique_id unique ID for this peer
276 * @param controller controller process to use
277 * @param host host to run the peer on
278 * @param cfg configuration to use for the peer
279 * @param cb the callback to call when the peer has been created
280 * @param cls the closure to the above callback
281 * @return the operation handle
282 */
283struct GNUNET_TESTBED_Operation *
284GNUNET_TESTBED_peer_create_with_id_ (uint32_t unique_id,
285 struct GNUNET_TESTBED_Controller
286 *controller,
287 struct GNUNET_TESTBED_Host *host,
288 const struct GNUNET_CONFIGURATION_Handle
289 *cfg, GNUNET_TESTBED_PeerCreateCallback cb,
290 void *cls);
291
292
293/** 251/**
294 * Generate PeerGetConfigurationMessage 252 * Generate PeerGetConfigurationMessage
295 * 253 *