aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_lib.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-02-17 13:29:47 +0000
committerNathan S. Evans <evans@in.tum.de>2011-02-17 13:29:47 +0000
commit0d95267569574f8381791e913e0ac6abf6d1e38b (patch)
treeae5ef862764bcb1a8dafb49fb927d42bd98323bf /src/include/gnunet_testing_lib.h
parentfe87e6648752f01771f571ef6dc7cae7de4ae66e (diff)
downloadgnunet-0d95267569574f8381791e913e0ac6abf6d1e38b.tar.gz
gnunet-0d95267569574f8381791e913e0ac6abf6d1e38b.zip
Allow testing connection process to be stopped when asked.
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r--src/include/gnunet_testing_lib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h
index 6ddc4ea74..14a0bbd86 100644
--- a/src/include/gnunet_testing_lib.h
+++ b/src/include/gnunet_testing_lib.h
@@ -889,6 +889,20 @@ GNUNET_TESTING_get_topology (struct GNUNET_TESTING_PeerGroup *pg,
889 GNUNET_TESTING_NotifyTopology cb, void *cls); 889 GNUNET_TESTING_NotifyTopology cb, void *cls);
890 890
891/** 891/**
892 * Stop the connection process temporarily.
893 *
894 * @param pg the peer group to stop connecting
895 */
896void GNUNET_TESTING_stop_connections(struct GNUNET_TESTING_PeerGroup *pg);
897
898/**
899 * Resume the connection process.
900 *
901 * @param pg the peer group to resume connecting
902 */
903void GNUNET_TESTING_resume_connections(struct GNUNET_TESTING_PeerGroup *pg);
904
905/**
892 * There are many ways to connect peers that are supported by this function. 906 * There are many ways to connect peers that are supported by this function.
893 * To connect peers in the same topology that was created via the 907 * To connect peers in the same topology that was created via the
894 * GNUNET_TESTING_create_topology, the topology variable must be set to 908 * GNUNET_TESTING_create_topology, the topology variable must be set to