[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12411 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12411 - gnunet/src/include |
Date: |
Fri, 30 Jul 2010 16:43:32 +0200 |
Author: nevans
Date: 2010-07-30 16:43:32 +0200 (Fri, 30 Jul 2010)
New Revision: 12411
Modified:
gnunet/src/include/gnunet_testing_lib.h
Log:
definition of LL
Modified: gnunet/src/include/gnunet_testing_lib.h
===================================================================
--- gnunet/src/include/gnunet_testing_lib.h 2010-07-30 14:43:10 UTC (rev
12410)
+++ gnunet/src/include/gnunet_testing_lib.h 2010-07-30 14:43:32 UTC (rev
12411)
@@ -50,6 +50,15 @@
struct GNUNET_TESTING_Daemon;
/**
+ * Linked list of hostnames to use for starting daemons.
+ */
+struct GNUNET_TESTING_Host
+{
+ struct GNUNET_TESTING_Host *next;
+ char *hostname;
+};
+
+/**
* Prototype of a function that will be called whenever
* a daemon was started by the testing library.
*
@@ -505,8 +514,8 @@
* @param cb_cls closure for cb
* @param connect_callback function to call each time two hosts are connected
* @param connect_callback_cls closure for connect_callback
- * @param hostnames space-separated list of hostnames to use; can be NULL (to
run
- * everything on localhost).
+ * @param hostnames linked list of hosts to use to start peers on (NULL to run
on localhost only)
+ *
* @return NULL on error, otherwise handle to control peer group
*/
struct GNUNET_TESTING_PeerGroup *
@@ -520,7 +529,7 @@
void *cb_cls,
GNUNET_TESTING_NotifyConnection
connect_callback, void *connect_callback_cls,
- const char *hostnames);
+ const struct GNUNET_TESTING_Host *hostnames);
/**
* Function which continues a peer group starting up
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12411 - gnunet/src/include,
gnunet <=