[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11784 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11784 - gnunet/src/include |
Date: |
Thu, 17 Jun 2010 17:31:30 +0200 |
Author: nevans
Date: 2010-06-17 17:31:30 +0200 (Thu, 17 Jun 2010)
New Revision: 11784
Modified:
gnunet/src/include/gnunet_testing_lib.h
Log:
api change
Modified: gnunet/src/include/gnunet_testing_lib.h
===================================================================
--- gnunet/src/include/gnunet_testing_lib.h 2010-06-17 15:29:40 UTC (rev
11783)
+++ gnunet/src/include/gnunet_testing_lib.h 2010-06-17 15:31:30 UTC (rev
11784)
@@ -337,6 +337,7 @@
* @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
@@ -344,13 +345,14 @@
* @param emsg error message (NULL on success)
*/
typedef void (*GNUNET_TESTING_NotifyConnection)(void *cls,
- const struct
GNUNET_PeerIdentity *first,
- const struct
GNUNET_PeerIdentity *second,
- const struct
GNUNET_CONFIGURATION_Handle *first_cfg,
- const struct
GNUNET_CONFIGURATION_Handle *second_cfg,
- struct
GNUNET_TESTING_Daemon *first_daemon,
- struct
GNUNET_TESTING_Daemon *second_daemon,
- const char *emsg);
+ 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,
+ struct GNUNET_TESTING_Daemon
*second_daemon,
+ const char *emsg);
/**
* Starts a GNUnet daemon. GNUnet must be installed on the target
@@ -631,6 +633,11 @@
GNUNET_TESTING_TOPOLOGY_SCALE_FREE,
/**
+ * Straight line topology.
+ */
+ GNUNET_TESTING_TOPOLOGY_LINE,
+
+ /**
* All peers are disconnected.
*/
GNUNET_TESTING_TOPOLOGY_NONE
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11784 - gnunet/src/include,
gnunet <=