From 48075154bac731e6983e850d2ad5c6ab30e3d424 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Thu, 17 Jun 2010 15:32:43 +0000 Subject: [PATCH] testing api change --- src/fs/fs_test_lib.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 void *cont_cls; }; - +/** + * Prototype of a function that will be called whenever + * two daemons are connected by the testing library. + * + * @param cls closure + * @param first peer id for first daemon + * @param second peer id for the second daemon + * @param distance distance between the connected peers + * @param first_cfg config for the first daemon + * @param second_cfg config for the second daemon + * @param first_daemon handle for the first daemon + * @param second_daemon handle for the second daemon + * @param emsg error message (NULL on success) + */ static void notify_connection (void *cls, const struct GNUNET_PeerIdentity *first, const struct GNUNET_PeerIdentity *second, + uint32_t distance, const struct GNUNET_CONFIGURATION_Handle *first_cfg, const struct GNUNET_CONFIGURATION_Handle *second_cfg, struct GNUNET_TESTING_Daemon *first_daemon, -- 2.25.1