aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-07-18 13:25:11 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-07-18 13:25:11 +0000
commitf195d42a6b8e24b8e2f31709b49e2be72e25983f (patch)
tree8e8b2044eae9d92cf140335e9fd2bfb2837e728d /src/testbed/testbed_api.h
parent1a956f969b0166ee609a88d37ace19486bd6bcee (diff)
downloadgnunet-f195d42a6b8e24b8e2f31709b49e2be72e25983f.tar.gz
gnunet-f195d42a6b8e24b8e2f31709b49e2be72e25983f.zip
API internal function call changes
Diffstat (limited to 'src/testbed/testbed_api.h')
-rw-r--r--src/testbed/testbed_api.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h
index c598d3ec2..2eaf0227b 100644
--- a/src/testbed/testbed_api.h
+++ b/src/testbed/testbed_api.h
@@ -191,8 +191,8 @@ struct GNUNET_TESTBED_Controller
191 * @param msg the message to queue 191 * @param msg the message to queue
192 */ 192 */
193void 193void
194GNUNET_TESTBED_queue_message (struct GNUNET_TESTBED_Controller *controller, 194GNUNET_TESTBED_queue_message_ (struct GNUNET_TESTBED_Controller *controller,
195 struct GNUNET_MessageHeader *msg); 195 struct GNUNET_MessageHeader *msg);
196 196
197 197
198/** 198/**
@@ -205,8 +205,8 @@ GNUNET_TESTBED_queue_message (struct GNUNET_TESTBED_Controller *controller,
205 * @return the size of the xconfig 205 * @return the size of the xconfig
206 */ 206 */
207size_t 207size_t
208GNUNET_TESTBED_compress_config (const char *config, size_t size, 208GNUNET_TESTBED_compress_config_ (const char *config, size_t size,
209 char **xconfig); 209 char **xconfig);
210 210
211 211
212/** 212/**
@@ -215,6 +215,19 @@ GNUNET_TESTBED_compress_config (const char *config, size_t size,
215 * @param op the operation to add 215 * @param op the operation to add
216 */ 216 */
217void 217void
218GNUNET_TESTBED_operation_add (struct GNUNET_TESTBED_Operation *op); 218GNUNET_TESTBED_operation_add_ (struct GNUNET_TESTBED_Operation *op);
219
220
221/**
222 * Creates a helper initialization message. Only for testing.
223 *
224 * @param cname the ip address of the controlling host
225 * @param cfg the configuration that has to used to start the testbed service
226 * thru helper
227 * @return the initialization message
228 */
229struct GNUNET_TESTBED_HelperInit *
230GNUNET_TESTBED_create_helper_init_msg_ (const char *cname,
231 const struct GNUNET_CONFIGURATION_Handle *cfg);
219 232
220#endif 233#endif