aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_testing_lib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h
index 8c76457e3..35a41b490 100644
--- a/src/include/gnunet_testing_lib.h
+++ b/src/include/gnunet_testing_lib.h
@@ -997,6 +997,21 @@ GNUNET_TESTING_peergroup_start(
997 void *peergroup_cls, 997 void *peergroup_cls,
998 const struct GNUNET_TESTING_Host *hostnames); 998 const struct GNUNET_TESTING_Host *hostnames);
999 999
1000/**
1001 * Print current topology to a graphviz readable file.
1002 *
1003 * @param pg a currently running peergroup to print to file
1004 * @param output_filename the file to write the topology to
1005 * @param notify_cb callback to call upon completion or failure
1006 * @param notify_cb_cls closure for notify_cb
1007 *
1008 */
1009void
1010GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg,
1011 const char *output_filename,
1012 GNUNET_TESTING_NotifyCompletion notify_cb,
1013 void *notify_cb_cls);
1014
1000 1015
1001#if 0 /* keep Emacsens' auto-indent happy */ 1016#if 0 /* keep Emacsens' auto-indent happy */
1002{ 1017{