aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-06-17 15:32:43 +0000
committerNathan S. Evans <evans@in.tum.de>2010-06-17 15:32:43 +0000
commit48075154bac731e6983e850d2ad5c6ab30e3d424 (patch)
tree4c4073fa7bb77e3d8c5c1f5097be4808c44d30bf /src/fs/fs_test_lib.c
parent9e7453c122701571dc25c33100ad608c28847810 (diff)
downloadgnunet-48075154bac731e6983e850d2ad5c6ab30e3d424.tar.gz
gnunet-48075154bac731e6983e850d2ad5c6ab30e3d424.zip
testing api change
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index f69990a17..0b1ff8955 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -395,11 +395,25 @@ struct ConnectContext
395 void *cont_cls; 395 void *cont_cls;
396}; 396};
397 397
398 398/**
399 * Prototype of a function that will be called whenever
400 * two daemons are connected by the testing library.
401 *
402 * @param cls closure
403 * @param first peer id for first daemon
404 * @param second peer id for the second daemon
405 * @param distance distance between the connected peers
406 * @param first_cfg config for the first daemon
407 * @param second_cfg config for the second daemon
408 * @param first_daemon handle for the first daemon
409 * @param second_daemon handle for the second daemon
410 * @param emsg error message (NULL on success)
411 */
399static void 412static void
400notify_connection (void *cls, 413notify_connection (void *cls,
401 const struct GNUNET_PeerIdentity *first, 414 const struct GNUNET_PeerIdentity *first,
402 const struct GNUNET_PeerIdentity *second, 415 const struct GNUNET_PeerIdentity *second,
416 uint32_t distance,
403 const struct GNUNET_CONFIGURATION_Handle *first_cfg, 417 const struct GNUNET_CONFIGURATION_Handle *first_cfg,
404 const struct GNUNET_CONFIGURATION_Handle *second_cfg, 418 const struct GNUNET_CONFIGURATION_Handle *second_cfg,
405 struct GNUNET_TESTING_Daemon *first_daemon, 419 struct GNUNET_TESTING_Daemon *first_daemon,