aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testbed_service.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-09-03 13:07:17 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-09-03 13:07:17 +0000
commit201958e5686cba96f1c08d23b44458cec9bc4519 (patch)
treed73635c8b84744b34e184091538edff70749b094 /src/include/gnunet_testbed_service.h
parentd97c5e23d256db8c2d1249c20a7d0e5714350b53 (diff)
downloadgnunet-201958e5686cba96f1c08d23b44458cec9bc4519.tar.gz
gnunet-201958e5686cba96f1c08d23b44458cec9bc4519.zip
fix
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r--src/include/gnunet_testbed_service.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index 39b356fa0..1be35c098 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -1184,6 +1184,15 @@ typedef void (*GNUNET_TESTBED_TestMaster)(void *cls,
1184 * @param cfg_filename configuration filename to use 1184 * @param cfg_filename configuration filename to use
1185 * (for testbed, controller and peers) 1185 * (for testbed, controller and peers)
1186 * @param num_peers number of peers to start; should be greter than 0 1186 * @param num_peers number of peers to start; should be greter than 0
1187 * @param event_mask bit mask with set of events to call 'cc' for;
1188 * or-ed values of "1LL" shifted by the
1189 * respective 'enum GNUNET_TESTBED_EventType'
1190 * (i.e. "(1LL << GNUNET_TESTBED_ET_CONNECT) || ...")
1191 * @param cc controller callback to invoke on events; This callback is called
1192 * for all peer start events even if GNUNET_TESTBED_ET_PEER_START isn't
1193 * set in the event_mask as this is the only way get access to the
1194 * handle of each peer
1195 * @param cc_cls closure for cc
1187 * @param test_master task to run once the test is ready 1196 * @param test_master task to run once the test is ready
1188 * @param test_master_cls closure for 'task'. 1197 * @param test_master_cls closure for 'task'.
1189 */ 1198 */
@@ -1191,6 +1200,9 @@ void
1191GNUNET_TESTBED_test_run (const char *testname, 1200GNUNET_TESTBED_test_run (const char *testname,
1192 const char *cfg_filename, 1201 const char *cfg_filename,
1193 unsigned int num_peers, 1202 unsigned int num_peers,
1203 uint64_t event_mask,
1204 GNUNET_TESTBED_ControllerCallback cc,
1205 void *cc_cls,
1194 GNUNET_TESTBED_TestMaster test_master, 1206 GNUNET_TESTBED_TestMaster test_master,
1195 void *test_master_cls); 1207 void *test_master_cls);
1196 1208