gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14898 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r14898 - gnunet/src/include
Date: Wed, 6 Apr 2011 11:41:00 +0200

Author: nevans
Date: 2011-04-06 11:41:00 +0200 (Wed, 06 Apr 2011)
New Revision: 14898

Modified:
   gnunet/src/include/gnunet_testing_lib.h
Log:
peergroup api version 2

Modified: gnunet/src/include/gnunet_testing_lib.h
===================================================================
--- gnunet/src/include/gnunet_testing_lib.h     2011-04-06 09:40:36 UTC (rev 
14897)
+++ gnunet/src/include/gnunet_testing_lib.h     2011-04-06 09:41:00 UTC (rev 
14898)
@@ -971,17 +971,13 @@
                             void *cb_cls);
 
 /**
- * Start count gnunet instances with the same set of transports and
- * applications.  The port numbers (any option called "PORT") will be
- * adjusted to ensure that no two peers running on the same system
- * have the same port(s) in their respective configurations.
+ * Start a peer group with a given number of peers.  Notify
+ * on completion of peer startup and connection based on given
+ * topological constraints.  Optionally notify on each
+ * established connection.
  *
  * @param cfg configuration template to use
  * @param total number of daemons to start
- * @param max_concurrent_connections for testing, how many peers can
-*                                   we connect to simultaneously
- * @param max_concurrent_ssh when starting with ssh, how many ssh
- *        connections will we allow at once (based on remote hosts allowed!)
  * @param timeout total time allowed for peers to start
  * @param connect_cb function to call each time two daemons are connected
  * @param connect_cb_cls closure for connect_callback
@@ -989,35 +985,21 @@
  * @param peergroup_cb_cls closure for peergroup_cb
  * @param hostnames linked list of host structs to use to start peers on
  *                  (NULL to run on localhost only)
- * @param topology allowed overlay topology
- * @param restrict_topology blacklist connections to this topology
- * @param restrict_transports specific transports to blacklist
- * @param connect_topology topology to connect peers in (defaults to allowed
- *        topology)
- * @param connect_topology_options options for connect topology
- * @param connect_topology_option_modifier option modifier for connect topology
  * @param verbose GNUNET_YES to print progress bars, GNUNET_NO otherwise
  *
  * @return NULL on error, otherwise handle to control peer group
  */
 struct GNUNET_TESTING_PeerGroup *
-GNUNET_TESTING_PeerGroup_start (const struct GNUNET_CONFIGURATION_Handle *cfg,
-                                unsigned int total,
-                                unsigned int max_concurrent_connections,
-                                unsigned int max_concurrent_ssh,
-                                struct GNUNET_TIME_Relative timeout,
-                                GNUNET_TESTING_NotifyConnection
-                                connect_cb, void *connect_cb_cls,
-                                GNUNET_TESTING_NotifyCompletion peergroup_cb,
-                                void *peergroup_cb_cls,
-                                const struct GNUNET_TESTING_Host *hostnames,
-                                enum GNUNET_TESTING_Topology topology,
-                                enum GNUNET_TESTING_Topology restrict_topology,
-                                const char *restrict_transports,
-                                enum GNUNET_TESTING_Topology connect_topology,
-                                enum GNUNET_TESTING_TopologyOption 
connect_topology_options,
-                                double connect_topology_option_modifier,
-                                int verbose);
+GNUNET_TESTING_peergroup_start(
+                               const struct GNUNET_CONFIGURATION_Handle *cfg,
+                               unsigned int total,
+                               struct GNUNET_TIME_Relative timeout,
+                               GNUNET_TESTING_NotifyConnection connect_cb,
+                               void *connect_cb_cls,
+                               GNUNET_TESTING_NotifyCompletion peergroup_cb,
+                               void *peergroup_cb_cls,
+                               const struct GNUNET_TESTING_Host *hostnames,
+                               int verbose);
 
 
 #if 0                           /* keep Emacsens' auto-indent happy */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]