From fc6755b1900955f16b762a1964a58f69b0c76f85 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 7 Apr 2011 13:03:48 +0000 Subject: Adapt all API calls to the new style --- src/include/gnunet_mesh_service_new.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/include/gnunet_mesh_service_new.h') 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, const struct GNUNET_MESH_MessageHandler *handlers, const GNUNET_MESH_ApplicationType *stypes); -/** - * Get the peer on the other side of this tunnel if it is just one. Return NULL otherwise - * - * @deprecated - * @param tunnel the tunnel - * @return the peer or NULL - */ -const struct GNUNET_PeerIdentity* -GNUNET_MESH_get_peer (const struct GNUNET_MESH_Tunnel* tunnel); - /** * Disconnect from the mesh service. @@ -241,9 +231,8 @@ GNUNET_MESH_peer_request_connect_del (struct GNUNET_MESH_Tunnel *tunnel, * @param timeout how long to try to establish a connection * @param app_type application type that must be supported by the peer (MESH should * discover peer in proximity handling this type) - * @return NULL on error (handler will not be called), otherwise handle for cancellation */ -struct GNUNET_MESH_Tunnel * +void GNUNET_MESH_peer_request_connect_by_type (struct GNUNET_MESH_Tunnel *tunnel, struct GNUNET_TIME_Relative timeout, GNUNET_MESH_ApplicationType app_type); -- cgit v1.2.3