/**
* Tunnel to this peer, if any.
*/
- struct CadetTunnel3 *tunnel;
+ struct CadetTunnel *tunnel;
/**
* Connections that go through this peer, indexed by tid;
void *value)
{
struct CadetPeer *p = value;
- struct CadetTunnel3 *t = p->tunnel;
+ struct CadetTunnel *t = p->tunnel;
if (NULL != t)
GCT_destroy (t);
void
GCP_connect (struct CadetPeer *peer)
{
- struct CadetTunnel3 *t;
+ struct CadetTunnel *t;
struct CadetPeerPath *p;
struct CadetConnection *c;
int rerun_search;
* @param t Tunnel.
*/
void
-GCP_set_tunnel (struct CadetPeer *peer, struct CadetTunnel3 *t)
+GCP_set_tunnel (struct CadetPeer *peer, struct CadetTunnel *t)
{
peer->tunnel = t;
if (NULL == t && NULL != peer->search_h)
*
* @return Tunnel towards peer.
*/
-struct CadetTunnel3 *
+struct CadetTunnel *
GCP_get_tunnel (const struct CadetPeer *peer)
{
return peer->tunnel;