diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-20 12:29:57 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-11-20 12:29:57 +0000 |
commit | b0ca95f6c05e8486e252b4d8bdd6ae16b6d2560a (patch) | |
tree | 09352f2efafd76b317cb7ccd1a3a47f97d6cc798 /src/include/gnunet_testbed_service.h | |
parent | 984eaa29119a4b1ae01490db9b16cf1020e01d55 (diff) | |
download | gnunet-b0ca95f6c05e8486e252b4d8bdd6ae16b6d2560a.tar.gz gnunet-b0ca95f6c05e8486e252b4d8bdd6ae16b6d2560a.zip |
extended overlay configure topology to return max connections
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r-- | src/include/gnunet_testbed_service.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h index 12f699975..91fb424c4 100644 --- a/src/include/gnunet_testbed_service.h +++ b/src/include/gnunet_testbed_service.h | |||
@@ -1062,6 +1062,8 @@ GNUNET_TESTBED_overlay_connect (void *op_cls, | |||
1062 | * @param op_cls closure argument to give with the operation event | 1062 | * @param op_cls closure argument to give with the operation event |
1063 | * @param num_peers number of peers in 'peers' | 1063 | * @param num_peers number of peers in 'peers' |
1064 | * @param peers array of 'num_peers' with the peers to configure | 1064 | * @param peers array of 'num_peers' with the peers to configure |
1065 | * @param max_connections the maximums number of overlay connections that will | ||
1066 | * be made to achieve the given topology | ||
1065 | * @param topo desired underlay topology to use | 1067 | * @param topo desired underlay topology to use |
1066 | * @param va topology-specific options | 1068 | * @param va topology-specific options |
1067 | * @return handle to the operation, NULL if connecting these | 1069 | * @return handle to the operation, NULL if connecting these |
@@ -1072,6 +1074,7 @@ struct GNUNET_TESTBED_Operation * | |||
1072 | GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls, | 1074 | GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls, |
1073 | unsigned int num_peers, | 1075 | unsigned int num_peers, |
1074 | struct GNUNET_TESTBED_Peer **peers, | 1076 | struct GNUNET_TESTBED_Peer **peers, |
1077 | unsigned int *max_connections, | ||
1075 | enum GNUNET_TESTBED_TopologyOption topo, | 1078 | enum GNUNET_TESTBED_TopologyOption topo, |
1076 | va_list va); | 1079 | va_list va); |
1077 | 1080 | ||
@@ -1084,6 +1087,8 @@ GNUNET_TESTBED_overlay_configure_topology_va (void *op_cls, | |||
1084 | * @param op_cls closure argument to give with the operation event | 1087 | * @param op_cls closure argument to give with the operation event |
1085 | * @param num_peers number of peers in 'peers' | 1088 | * @param num_peers number of peers in 'peers' |
1086 | * @param peers array of 'num_peers' with the peers to configure | 1089 | * @param peers array of 'num_peers' with the peers to configure |
1090 | * @param max_connections the maximums number of overlay connections that will | ||
1091 | * be made to achieve the given topology | ||
1087 | * @param topo desired underlay topology to use | 1092 | * @param topo desired underlay topology to use |
1088 | * @param ... topology-specific options | 1093 | * @param ... topology-specific options |
1089 | * @return handle to the operation, NULL if connecting these | 1094 | * @return handle to the operation, NULL if connecting these |
@@ -1094,6 +1099,7 @@ struct GNUNET_TESTBED_Operation * | |||
1094 | GNUNET_TESTBED_overlay_configure_topology (void *op_cls, | 1099 | GNUNET_TESTBED_overlay_configure_topology (void *op_cls, |
1095 | unsigned int num_peers, | 1100 | unsigned int num_peers, |
1096 | struct GNUNET_TESTBED_Peer **peers, | 1101 | struct GNUNET_TESTBED_Peer **peers, |
1102 | unsigned int *max_connections, | ||
1097 | enum GNUNET_TESTBED_TopologyOption topo, | 1103 | enum GNUNET_TESTBED_TopologyOption topo, |
1098 | ...); | 1104 | ...); |
1099 | 1105 | ||