diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-05-18 13:09:54 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-05-18 13:09:54 +0000 |
commit | 6c545c90270dce82bb0fd88cfb88e146ef368092 (patch) | |
tree | 531387d9730f4746d6c2a1fa8f5957392c926789 /src/mesh/mesh_api_new.c | |
parent | 924f672fa330b0c6e2997f25548935d4df81fd32 (diff) | |
download | gnunet-6c545c90270dce82bb0fd88cfb88e146ef368092.tar.gz gnunet-6c545c90270dce82bb0fd88cfb88e146ef368092.zip |
Added mapping of client-service tunnel numbering
Diffstat (limited to 'src/mesh/mesh_api_new.c')
-rw-r--r-- | src/mesh/mesh_api_new.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c index e466bca94..c9c71405c 100644 --- a/src/mesh/mesh_api_new.c +++ b/src/mesh/mesh_api_new.c | |||
@@ -45,6 +45,7 @@ extern "C" | |||
45 | #include "gnunet_common.h" | 45 | #include "gnunet_common.h" |
46 | #include "gnunet_client_lib.h" | 46 | #include "gnunet_client_lib.h" |
47 | #include "gnunet_util_lib.h" | 47 | #include "gnunet_util_lib.h" |
48 | #include "gnunet_peer_lib.h" | ||
48 | #include "gnunet_mesh_service_new.h" | 49 | #include "gnunet_mesh_service_new.h" |
49 | #include "mesh.h" | 50 | #include "mesh.h" |
50 | 51 | ||
@@ -121,11 +122,6 @@ struct GNUNET_MESH_Tunnel { | |||
121 | struct GNUNET_MESH_Tunnel *prev; | 122 | struct GNUNET_MESH_Tunnel *prev; |
122 | 123 | ||
123 | /** | 124 | /** |
124 | * Owner of the tunnel, either local or remote | ||
125 | */ | ||
126 | GNUNET_PEER_Id owner; | ||
127 | |||
128 | /** | ||
129 | * Local ID of the tunnel | 125 | * Local ID of the tunnel |
130 | */ | 126 | */ |
131 | MESH_TunnelID tid; | 127 | MESH_TunnelID tid; |
@@ -341,6 +337,7 @@ process_tunnel_create(struct GNUNET_MESH_Handle *h, | |||
341 | t->disconnect_handler = NULL; | 337 | t->disconnect_handler = NULL; |
342 | t->mesh = h; | 338 | t->mesh = h; |
343 | t->tid = tid; | 339 | t->tid = tid; |
340 | |||
344 | return; | 341 | return; |
345 | } | 342 | } |
346 | 343 | ||