+/**
+ * Call MESH's monitor API, get info of one tunnel.
+ *
+ * @param cls Closure (unused).
+ * @param tc TaskContext
+ */
+static void
+show_tunnel (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+{
+ struct GNUNET_PeerIdentity pid;
+
+ if (GNUNET_OK !=
+ GNUNET_CRYPTO_eddsa_public_key_from_string (tunnel_id,
+ strlen (tunnel_id),
+ &pid.public_key))
+ {
+ fprintf (stderr,
+ _("Invalid tunnel owner `%s'\n"),
+ tunnel_id);
+ GNUNET_SCHEDULER_shutdown();
+ return;
+ }
+ GNUNET_MESH_show_tunnel (mh, &pid, 0, tunnel_callback, NULL);
+}
+
+