diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-09-02 15:57:15 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-09-02 15:57:15 +0000 |
commit | f9928e80e3a6209f95bd65f0aee7d8bff4c65109 (patch) | |
tree | e2124cecdeede902b77d9d48a959d86a0e3669b6 /src/include/gnunet_testing_lib.h | |
parent | 3bb80e50970bfee5ebea155b00f37adcd4d4c75e (diff) | |
download | gnunet-f9928e80e3a6209f95bd65f0aee7d8bff4c65109.tar.gz gnunet-f9928e80e3a6209f95bd65f0aee7d8bff4c65109.zip |
missing definition
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index 5145e2e09..8199607a1 100644 --- a/src/include/gnunet_testing_lib.h +++ b/src/include/gnunet_testing_lib.h | |||
@@ -456,6 +456,18 @@ struct GNUNET_TESTING_Daemon * | |||
456 | GNUNET_TESTING_daemon_get (struct GNUNET_TESTING_PeerGroup *pg, | 456 | GNUNET_TESTING_daemon_get (struct GNUNET_TESTING_PeerGroup *pg, |
457 | unsigned int position); | 457 | unsigned int position); |
458 | 458 | ||
459 | /* | ||
460 | * Get a daemon by peer identity, so callers can | ||
461 | * retrieve the daemon without knowing it's offset. | ||
462 | * | ||
463 | * @param pg the peer group to retrieve the daemon from | ||
464 | * @param peer_id the peer identity of the daemon to retrieve | ||
465 | * | ||
466 | * @return the daemon on success, or NULL if no such peer identity is found | ||
467 | */ | ||
468 | struct GNUNET_TESTING_Daemon * | ||
469 | GNUNET_TESTING_daemon_get_by_id (struct GNUNET_TESTING_PeerGroup *pg, | ||
470 | struct GNUNET_PeerIdentity *peer_id); | ||
459 | 471 | ||
460 | /** | 472 | /** |
461 | * Stops a GNUnet daemon. | 473 | * Stops a GNUnet daemon. |