From: Nathan S. Evans Date: Tue, 19 Jul 2011 13:03:05 +0000 (+0000) Subject: new function X-Git-Tag: initial-import-from-subversion-38251~17713 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=81e041f4ea19985a91a3b2ee5a857a26ff3a2d59;p=oweals%2Fgnunet.git new function --- 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( void *peergroup_cls, const struct GNUNET_TESTING_Host *hostnames); +/** + * Print current topology to a graphviz readable file. + * + * @param pg a currently running peergroup to print to file + * @param output_filename the file to write the topology to + * @param notify_cb callback to call upon completion or failure + * @param notify_cb_cls closure for notify_cb + * + */ +void +GNUNET_TESTING_peergroup_topology_to_file(struct GNUNET_TESTING_PeerGroup *pg, + const char *output_filename, + GNUNET_TESTING_NotifyCompletion notify_cb, + void *notify_cb_cls); + #if 0 /* keep Emacsens' auto-indent happy */ {