diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-07-19 13:03:05 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-07-19 13:03:05 +0000 |
commit | 81e041f4ea19985a91a3b2ee5a857a26ff3a2d59 (patch) | |
tree | 32680c5b2ed47ecf2506578497a9cfb6d117303d /src/include | |
parent | c14ad3131ef0a3e690b44e5f4cd6f190027e3462 (diff) | |
download | gnunet-81e041f4ea19985a91a3b2ee5a857a26ff3a2d59.tar.gz gnunet-81e041f4ea19985a91a3b2ee5a857a26ff3a2d59.zip |
new function
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 15 |
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 | */ | ||
1009 | void | ||
1010 | GNUNET_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 | { |