diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-04-07 13:03:48 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-04-07 13:03:48 +0000 |
commit | fc6755b1900955f16b762a1964a58f69b0c76f85 (patch) | |
tree | 5441b93afe1981d2141836d81924a6f9d3fb8da2 /src/include/gnunet_mesh_service_new.h | |
parent | 6dd87bb91e0e8972b314802477f4005e55081ac8 (diff) | |
download | gnunet-fc6755b1900955f16b762a1964a58f69b0c76f85.tar.gz gnunet-fc6755b1900955f16b762a1964a58f69b0c76f85.zip |
Adapt all API calls to the new style
Diffstat (limited to 'src/include/gnunet_mesh_service_new.h')
-rw-r--r-- | src/include/gnunet_mesh_service_new.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/include/gnunet_mesh_service_new.h b/src/include/gnunet_mesh_service_new.h index d1e850f34..4dd738327 100644 --- a/src/include/gnunet_mesh_service_new.h +++ b/src/include/gnunet_mesh_service_new.h | |||
@@ -141,16 +141,6 @@ GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
141 | const struct GNUNET_MESH_MessageHandler *handlers, | 141 | const struct GNUNET_MESH_MessageHandler *handlers, |
142 | const GNUNET_MESH_ApplicationType *stypes); | 142 | const GNUNET_MESH_ApplicationType *stypes); |
143 | 143 | ||
144 | /** | ||
145 | * Get the peer on the other side of this tunnel if it is just one. Return NULL otherwise | ||
146 | * | ||
147 | * @deprecated | ||
148 | * @param tunnel the tunnel | ||
149 | * @return the peer or NULL | ||
150 | */ | ||
151 | const struct GNUNET_PeerIdentity* | ||
152 | GNUNET_MESH_get_peer (const struct GNUNET_MESH_Tunnel* tunnel); | ||
153 | |||
154 | 144 | ||
155 | /** | 145 | /** |
156 | * Disconnect from the mesh service. | 146 | * Disconnect from the mesh service. |
@@ -241,9 +231,8 @@ GNUNET_MESH_peer_request_connect_del (struct GNUNET_MESH_Tunnel *tunnel, | |||
241 | * @param timeout how long to try to establish a connection | 231 | * @param timeout how long to try to establish a connection |
242 | * @param app_type application type that must be supported by the peer (MESH should | 232 | * @param app_type application type that must be supported by the peer (MESH should |
243 | * discover peer in proximity handling this type) | 233 | * discover peer in proximity handling this type) |
244 | * @return NULL on error (handler will not be called), otherwise handle for cancellation | ||
245 | */ | 234 | */ |
246 | struct GNUNET_MESH_Tunnel * | 235 | void |
247 | GNUNET_MESH_peer_request_connect_by_type (struct GNUNET_MESH_Tunnel *tunnel, | 236 | GNUNET_MESH_peer_request_connect_by_type (struct GNUNET_MESH_Tunnel *tunnel, |
248 | struct GNUNET_TIME_Relative timeout, | 237 | struct GNUNET_TIME_Relative timeout, |
249 | GNUNET_MESH_ApplicationType app_type); | 238 | GNUNET_MESH_ApplicationType app_type); |