From: Nathan S. Evans Date: Thu, 17 Jun 2010 15:32:43 +0000 (+0000) Subject: testing api change X-Git-Tag: initial-import-from-subversion-38251~21355 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=48075154bac731e6983e850d2ad5c6ab30e3d424;p=oweals%2Fgnunet.git testing api change --- 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,