[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12815 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12815 - gnunet/src/include |
Date: |
Thu, 2 Sep 2010 17:57:15 +0200 |
Author: nevans
Date: 2010-09-02 17:57:15 +0200 (Thu, 02 Sep 2010)
New Revision: 12815
Modified:
gnunet/src/include/gnunet_testing_lib.h
Log:
missing definition
Modified: gnunet/src/include/gnunet_testing_lib.h
===================================================================
--- gnunet/src/include/gnunet_testing_lib.h 2010-09-02 15:56:57 UTC (rev
12814)
+++ gnunet/src/include/gnunet_testing_lib.h 2010-09-02 15:57:15 UTC (rev
12815)
@@ -456,6 +456,18 @@
GNUNET_TESTING_daemon_get (struct GNUNET_TESTING_PeerGroup *pg,
unsigned int position);
+/*
+ * Get a daemon by peer identity, so callers can
+ * retrieve the daemon without knowing it's offset.
+ *
+ * @param pg the peer group to retrieve the daemon from
+ * @param peer_id the peer identity of the daemon to retrieve
+ *
+ * @return the daemon on success, or NULL if no such peer identity is found
+ */
+struct GNUNET_TESTING_Daemon *
+GNUNET_TESTING_daemon_get_by_id (struct GNUNET_TESTING_PeerGroup *pg,
+ struct GNUNET_PeerIdentity *peer_id);
/**
* Stops a GNUnet daemon.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12815 - gnunet/src/include,
gnunet <=