aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_lib.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-10-12 12:56:49 +0000
committerNathan S. Evans <evans@in.tum.de>2010-10-12 12:56:49 +0000
commitcd1310b601dc1b7d1b14b7cafff92c0e9bb92152 (patch)
treed393ea92910ec0b221dc76dc3211cb26e948dda9 /src/include/gnunet_testing_lib.h
parent71d1874626c062831968b17473baf4ab2829ebec (diff)
downloadgnunet-cd1310b601dc1b7d1b14b7cafff92c0e9bb92152.tar.gz
gnunet-cd1310b601dc1b7d1b14b7cafff92c0e9bb92152.zip
change connect topology in testing_group.c to call callback on all peers connected (or possibly timed out connecting)
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r--src/include/gnunet_testing_lib.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h
index e443c2f92..e0ea15fcd 100644
--- a/src/include/gnunet_testing_lib.h
+++ b/src/include/gnunet_testing_lib.h
@@ -879,13 +879,18 @@ GNUNET_TESTING_get_topology (struct GNUNET_TESTING_PeerGroup *pg,
879 * @param topology which topology to connect the peers in 879 * @param topology which topology to connect the peers in
880 * @param options options for connecting the topology 880 * @param options options for connecting the topology
881 * @param option_modifier modifier for options that take a parameter 881 * @param option_modifier modifier for options that take a parameter
882 * @param notify_callback notification to be called once all connections completed
883 * @param notify_cls closure for notification callback
884 *
882 * @return the number of connections that will be attempted, GNUNET_SYSERR on error 885 * @return the number of connections that will be attempted, GNUNET_SYSERR on error
883 */ 886 */
884int 887int
885GNUNET_TESTING_connect_topology (struct GNUNET_TESTING_PeerGroup *pg, 888GNUNET_TESTING_connect_topology (struct GNUNET_TESTING_PeerGroup *pg,
886 enum GNUNET_TESTING_Topology topology, 889 enum GNUNET_TESTING_Topology topology,
887 enum GNUNET_TESTING_TopologyOption options, 890 enum GNUNET_TESTING_TopologyOption options,
888 double option_modifier); 891 double option_modifier,
892 GNUNET_TESTING_NotifyCompletion notify_callback,
893 void *notify_cls);
889 894
890/** 895/**
891 * Start or stop an individual peer from the given group. 896 * Start or stop an individual peer from the given group.