[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11742 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11742 - gnunet/src/include |
Date: |
Mon, 14 Jun 2010 14:18:19 +0200 |
Author: nevans
Date: 2010-06-14 14:18:19 +0200 (Mon, 14 Jun 2010)
New Revision: 11742
Modified:
gnunet/src/include/gnunet_testing_lib.h
Log:
changes to use names instead of numbers for topologies and topology options
Modified: gnunet/src/include/gnunet_testing_lib.h
===================================================================
--- gnunet/src/include/gnunet_testing_lib.h 2010-06-14 12:17:47 UTC (rev
11741)
+++ gnunet/src/include/gnunet_testing_lib.h 2010-06-14 12:18:19 UTC (rev
11742)
@@ -669,7 +669,33 @@
GNUNET_TESTING_TOPOLOGY_OPTION_NONE
};
+
/**
+ * Get a topology from a string input.
+ *
+ * @param topology where to write the retrieved topology
+ * @param topology_string The string to attempt to
+ * get a configuration value from
+ * @return GNUNET_YES if topology string matched a
+ * known topology, GNUNET_NO if not
+ */
+int
+GNUNET_TESTING_topology_get(enum GNUNET_TESTING_Topology *topology, char *
topology_string);
+
+/**
+ * Get connect topology option from string input.
+ *
+ * @param topology where to write the retrieved topology
+ * @param topology_string The string to attempt to
+ * get a configuration value from
+ * @return GNUNET_YES if topology string matched a
+ * known topology, GNUNET_NO if not
+ */
+int
+GNUNET_TESTING_topology_option_get(enum GNUNET_TESTING_TopologyOption
*topology, char * topology_string);
+
+
+/**
* Takes a peer group and creates a topology based on the
* one specified. Creates a topology means generates friend
* files for the peers so they can only connect to those allowed
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11742 - gnunet/src/include,
gnunet <=