aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-12 11:46:24 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-12 11:46:24 +0000
commit71d1874626c062831968b17473baf4ab2829ebec (patch)
treea5f4b122a3b5bbbd4debbff3c966d4a0ed0481ac /src/include/gnunet_testing_lib.h
parent5536faa3b53c26dc40effd5c58c1596b1fd96b43 (diff)
downloadgnunet-71d1874626c062831968b17473baf4ab2829ebec.tar.gz
gnunet-71d1874626c062831968b17473baf4ab2829ebec.zip
break build
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r--src/include/gnunet_testing_lib.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h
index 3f0aeb120..e443c2f92 100644
--- a/src/include/gnunet_testing_lib.h
+++ b/src/include/gnunet_testing_lib.h
@@ -812,7 +812,8 @@ enum GNUNET_TESTING_TopologyOption
812 * known topology, GNUNET_NO if not 812 * known topology, GNUNET_NO if not
813 */ 813 */
814int 814int
815GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology, char * topology_string); 815GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology,
816 const char * topology_string);
816 817
817/** 818/**
818 * Get connect topology option from string input. 819 * Get connect topology option from string input.
@@ -825,7 +826,7 @@ GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology, char * topol
825 */ 826 */
826int 827int
827GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_option, 828GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_option,
828 char * topology_string); 829 const char * topology_string);
829 830
830 831
831/** 832/**
@@ -847,11 +848,11 @@ GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_
847 * @return the maximum number of connections were all allowed peers 848 * @return the maximum number of connections were all allowed peers
848 * connected to each other 849 * connected to each other
849 */ 850 */
850int 851unsigned int
851GNUNET_TESTING_create_topology (struct GNUNET_TESTING_PeerGroup *pg, 852GNUNET_TESTING_create_topology (struct GNUNET_TESTING_PeerGroup *pg,
852 enum GNUNET_TESTING_Topology topology, 853 enum GNUNET_TESTING_Topology topology,
853 enum GNUNET_TESTING_Topology restrict_topology, 854 enum GNUNET_TESTING_Topology restrict_topology,
854 char *restrict_transports); 855 const char *restrict_transports);
855 856
856/** 857/**
857 * Iterate over all (running) peers in the peer group, retrieve 858 * Iterate over all (running) peers in the peer group, retrieve
@@ -862,7 +863,8 @@ GNUNET_TESTING_create_topology (struct GNUNET_TESTING_PeerGroup *pg,
862 * @param cls closure for callback 863 * @param cls closure for callback
863 */ 864 */
864void 865void
865GNUNET_TESTING_get_topology (struct GNUNET_TESTING_PeerGroup *pg, GNUNET_TESTING_NotifyTopology cb, void *cls); 866GNUNET_TESTING_get_topology (struct GNUNET_TESTING_PeerGroup *pg,
867 GNUNET_TESTING_NotifyTopology cb, void *cls);
866 868
867/** 869/**
868 * There are many ways to connect peers that are supported by this function. 870 * There are many ways to connect peers that are supported by this function.