return GNUNET_CONTAINER_multihashmap_get(c->tunnels, &hash);
}
+#if LATER
/**
* Search for a tunnel by global ID
*/
GNUNET_CRYPTO_hash(&id, sizeof(struct MESH_TunnelID), &hash);
return GNUNET_CONTAINER_multihashmap_get(tunnels, &hash);
}
+#endif
/**
* Destroy the path and free any allocated resources linked to it
return GNUNET_OK;
}
+#if LATER
/**
* Destroy the peer_info and free any allocated resources linked to it
* @param t tunnel the path belongs to
GNUNET_free(pi);
return GNUNET_OK;
}
+#endif
/**
* Destroy the tunnel and free any allocated resources linked to it
peer_info = (struct MeshPeerInfo *)cls;
// t = peer_info->t;
+ t = NULL; // FIXME
if (NULL == get_path || NULL == put_path) {
// TODO: find ourselves some alternate initial path to the destination