GNUNET_TESTBED_OperationCompletionCallback cont,
void *cls);
+
+/**
+ * Return the index of the peer inside of the total peer array,
+ * aka. the peer's "unique ID".
+ *
+ * @param peer Peer handle.
+ *
+ * @return The peer's unique ID.
+ */
+uint32_t
+GNUNET_TESTBED_get_index (const struct GNUNET_TESTBED_Peer *peer);
+
/**
* Handle for testbed run helper funtions
*/
/**
* Set the metrics for a link to the given peer in the underlay model. The link
* SHOULD be permittable according to the given model.
- *
+ *
* @ingroup underlay
* @param model the model
* @param peer the other end peer of the link