gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11785 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r11785 - gnunet/src/fs
Date: Thu, 17 Jun 2010 17:32:43 +0200

Author: nevans
Date: 2010-06-17 17:32:43 +0200 (Thu, 17 Jun 2010)
New Revision: 11785

Modified:
   gnunet/src/fs/fs_test_lib.c
Log:
testing api change

Modified: gnunet/src/fs/fs_test_lib.c
===================================================================
--- gnunet/src/fs/fs_test_lib.c 2010-06-17 15:31:30 UTC (rev 11784)
+++ gnunet/src/fs/fs_test_lib.c 2010-06-17 15:32:43 UTC (rev 11785)
@@ -395,11 +395,25 @@
   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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]