diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-12 11:46:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-12 11:46:24 +0000 |
commit | 71d1874626c062831968b17473baf4ab2829ebec (patch) | |
tree | a5f4b122a3b5bbbd4debbff3c966d4a0ed0481ac /src/include/gnunet_testing_lib.h | |
parent | 5536faa3b53c26dc40effd5c58c1596b1fd96b43 (diff) | |
download | gnunet-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.h | 12 |
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 | */ |
814 | int | 814 | int |
815 | GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology, char * topology_string); | 815 | GNUNET_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 | */ |
826 | int | 827 | int |
827 | GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption *topology_option, | 828 | GNUNET_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 | */ |
850 | int | 851 | unsigned int |
851 | GNUNET_TESTING_create_topology (struct GNUNET_TESTING_PeerGroup *pg, | 852 | GNUNET_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 | */ |
864 | void | 865 | void |
865 | GNUNET_TESTING_get_topology (struct GNUNET_TESTING_PeerGroup *pg, GNUNET_TESTING_NotifyTopology cb, void *cls); | 866 | GNUNET_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. |