commit 877ffff76b906b195be4bb1e1d3bfd841aab76ac
parent 3d7fefedc9ba60bd8e8448efe8b628446d958536
Author: Florian Dold <florian.dold@gmail.com>
Date: Sun, 11 Aug 2013 21:46:31 +0000
- doc for peerinfo
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
@@ -794,6 +794,7 @@ struct GNUNET_TESTBED_PeerInformation
/**
* Callback to be called when the requested peer information is available
+ * The peer information in the callback is valid until the operation 'op' is canceled.
*
* @param cb_cls the closure from GNUNET_TETSBED_peer_get_information()
* @param op the operation this callback corresponds to
@@ -815,6 +816,7 @@ typedef void (*GNUNET_TESTBED_PeerInfoCallback) (void *cb_cls,
* with event type GNUNET_TESTBED_ET_OPERATION_FINISHED when result for this
* operation is available. Instead, the GNUNET_TESTBED_PeerInfoCallback() will
* be called.
+ * The peer information in the callback is valid until the operation is canceled.
*
* @param peer peer to request information about
* @param pit desired information