diff options
author | nevans <nevans@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-02-17 13:29:47 +0000 |
---|---|---|
committer | nevans <nevans@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-02-17 13:29:47 +0000 |
commit | 1c70b614c5b6d1af410da0beedc2ed077ab4b200 (patch) | |
tree | ae5ef862764bcb1a8dafb49fb927d42bd98323bf /src/include/gnunet_testing_lib.h | |
parent | 7e3ed16660396627e126a82b2fd11e71bb6640d5 (diff) |
Allow testing connection process to be stopped when asked.
git-svn-id: https://gnunet.org/svn/gnunet@14440 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index 6ddc4ea741..14a0bbd86b 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, GNUNET_TESTING_NotifyTopology cb, void *cls); /** + * Stop the connection process temporarily. + * + * @param pg the peer group to stop connecting + */ +void GNUNET_TESTING_stop_connections(struct GNUNET_TESTING_PeerGroup *pg); + +/** + * Resume the connection process. + * + * @param pg the peer group to resume connecting + */ +void GNUNET_TESTING_resume_connections(struct GNUNET_TESTING_PeerGroup *pg); + +/** * There are many ways to connect peers that are supported by this function. * To connect peers in the same topology that was created via the * GNUNET_TESTING_create_topology, the topology variable must be set to |