aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-12 13:58:59 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-12 13:58:59 +0000
commit55089a84f206a44059d7ba0ab0972236e93585af (patch)
tree661079d2b543d79464a75a7c2f07329a217c8bdd /src/fs/fs_test_lib.c
parent63cb2a4029b1baf541d19487580af8e43ee795dd (diff)
downloadgnunet-55089a84f206a44059d7ba0ab0972236e93585af.tar.gz
gnunet-55089a84f206a44059d7ba0ab0972236e93585af.zip
perf code
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index aeb0bde06..2f40b52bc 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -496,6 +496,20 @@ GNUNET_FS_TEST_daemons_connect (struct GNUNET_SCHEDULER_Handle *sched,
496 496
497 497
498/** 498/**
499 * Obtain peer configuration used for testing.
500 *
501 * @param daemons array with the daemons
502 * @param off which configuration to get
503 * @return peer configuration
504 */
505const struct GNUNET_CONFIGURATION_Handle *
506GNUNET_FS_TEST_get_configuration (struct GNUNET_FS_TestDaemon **daemons,
507 unsigned int off)
508{
509 return daemons[off]->cfg;
510}
511
512/**
499 * Obtain peer group used for testing. 513 * Obtain peer group used for testing.
500 * 514 *
501 * @param daemons array with the daemons (must contain at least one) 515 * @param daemons array with the daemons (must contain at least one)