diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-08-05 09:57:16 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-08-05 09:57:16 +0000 |
commit | 36f92dc5adfc028f71123f813638a142035730f5 (patch) | |
tree | 6eff8b1857e01236b4967ff2730b1efea9ca7ec4 /src/mesh | |
parent | e43871e4be243e6c8e26d0c5ecd51054820570bd (diff) | |
download | gnunet-36f92dc5adfc028f71123f813638a142035730f5.tar.gz gnunet-36f92dc5adfc028f71123f813638a142035730f5.zip |
- add const status to getter params
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh-enc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c index 671e580fb..b1592a1b5 100644 --- a/src/mesh/gnunet-service-mesh-enc.c +++ b/src/mesh/gnunet-service-mesh-enc.c | |||
@@ -3414,7 +3414,7 @@ tunnel_new (struct GNUNET_HashCode *tid) | |||
3414 | * @param tid Tunnel ID. | 3414 | * @param tid Tunnel ID. |
3415 | */ | 3415 | */ |
3416 | static struct MeshTunnel2 * | 3416 | static struct MeshTunnel2 * |
3417 | tunnel_get (struct GNUNET_HashCode *tid) | 3417 | tunnel_get (const struct GNUNET_HashCode *tid) |
3418 | { | 3418 | { |
3419 | return GNUNET_CONTAINER_multihashmap_get (tunnels, tid); | 3419 | return GNUNET_CONTAINER_multihashmap_get (tunnels, tid); |
3420 | } | 3420 | } |
@@ -3472,7 +3472,7 @@ connection_new (struct GNUNET_HashCode *tid, uint32_t cid) | |||
3472 | * @param cid Connection ID. | 3472 | * @param cid Connection ID. |
3473 | */ | 3473 | */ |
3474 | static struct MeshConnection * | 3474 | static struct MeshConnection * |
3475 | connection_get (struct GNUNET_HashCode *tid, uint32_t cid) | 3475 | connection_get (const struct GNUNET_HashCode *tid, uint32_t cid) |
3476 | { | 3476 | { |
3477 | struct MeshConnection *c; | 3477 | struct MeshConnection *c; |
3478 | struct MeshTunnel2 *t; | 3478 | struct MeshTunnel2 *t; |
@@ -4731,7 +4731,7 @@ handle_mesh_encrypted (const struct GNUNET_PeerIdentity *peer, | |||
4731 | struct MeshConnection *c; | 4731 | struct MeshConnection *c; |
4732 | struct MeshTunnel2 *t; | 4732 | struct MeshTunnel2 *t; |
4733 | struct MeshPeer *neighbor; | 4733 | struct MeshPeer *neighbor; |
4734 | strcut MeshFlowControl *fc; | 4734 | struct MeshFlowControl *fc; |
4735 | uint32_t pid; | 4735 | uint32_t pid; |
4736 | uint32_t ttl; | 4736 | uint32_t ttl; |
4737 | uint16_t type; | 4737 | uint16_t type; |