aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-10 10:07:51 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-10 10:07:51 +0000
commit6c64afa2c2309f6b60e5b2207b764e3b2e677ae5 (patch)
tree9953c9742aea32ef4fe8460d158dbba7a3b26ba2 /src/mesh
parent3292adc35378c39930b3b8e80fe245318ca82ae3 (diff)
downloadgnunet-6c64afa2c2309f6b60e5b2207b764e3b2e677ae5.tar.gz
gnunet-6c64afa2c2309f6b60e5b2207b764e3b2e677ae5.zip
fix warnings
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 04b562687..cb88762f4 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -371,6 +371,7 @@ retrieve_tunnel_by_local_id (struct MeshClient *c, MESH_TunnelNumber tid)
371 return GNUNET_CONTAINER_multihashmap_get(c->tunnels, &hash); 371 return GNUNET_CONTAINER_multihashmap_get(c->tunnels, &hash);
372} 372}
373 373
374#if LATER
374/** 375/**
375 * Search for a tunnel by global ID 376 * Search for a tunnel by global ID
376 */ 377 */
@@ -387,6 +388,7 @@ retrieve_tunnel (struct GNUNET_PeerIdentity *oid, MESH_TunnelNumber tid)
387 GNUNET_CRYPTO_hash(&id, sizeof(struct MESH_TunnelID), &hash); 388 GNUNET_CRYPTO_hash(&id, sizeof(struct MESH_TunnelID), &hash);
388 return GNUNET_CONTAINER_multihashmap_get(tunnels, &hash); 389 return GNUNET_CONTAINER_multihashmap_get(tunnels, &hash);
389} 390}
391#endif
390 392
391/** 393/**
392 * Destroy the path and free any allocated resources linked to it 394 * Destroy the path and free any allocated resources linked to it
@@ -404,6 +406,7 @@ destroy_path(struct MeshTunnel *t, struct MeshPath *p)
404 return GNUNET_OK; 406 return GNUNET_OK;
405} 407}
406 408
409#if LATER
407/** 410/**
408 * Destroy the peer_info and free any allocated resources linked to it 411 * Destroy the peer_info and free any allocated resources linked to it
409 * @param t tunnel the path belongs to 412 * @param t tunnel the path belongs to
@@ -418,6 +421,7 @@ destroy_peer_info(struct MeshTunnel *t, struct MeshPeerInfo *pi)
418 GNUNET_free(pi); 421 GNUNET_free(pi);
419 return GNUNET_OK; 422 return GNUNET_OK;
420} 423}
424#endif
421 425
422/** 426/**
423 * Destroy the tunnel and free any allocated resources linked to it 427 * Destroy the tunnel and free any allocated resources linked to it
@@ -693,6 +697,7 @@ dht_get_response_handler(void *cls,
693 697
694 peer_info = (struct MeshPeerInfo *)cls; 698 peer_info = (struct MeshPeerInfo *)cls;
695// t = peer_info->t; 699// t = peer_info->t;
700 t = NULL; // FIXME
696 701
697 if (NULL == get_path || NULL == put_path) { 702 if (NULL == get_path || NULL == put_path) {
698 // TODO: find ourselves some alternate initial path to the destination 703 // TODO: find ourselves some alternate initial path to the destination