gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14916 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r14916 - gnunet/src/include
Date: Thu, 7 Apr 2011 15:03:48 +0200

Author: bartpolot
Date: 2011-04-07 15:03:48 +0200 (Thu, 07 Apr 2011)
New Revision: 14916

Modified:
   gnunet/src/include/gnunet_mesh_service_new.h
Log:
Adapt all API calls to the new style


Modified: gnunet/src/include/gnunet_mesh_service_new.h
===================================================================
--- gnunet/src/include/gnunet_mesh_service_new.h        2011-04-07 12:28:41 UTC 
(rev 14915)
+++ gnunet/src/include/gnunet_mesh_service_new.h        2011-04-07 13:03:48 UTC 
(rev 14916)
@@ -141,17 +141,7 @@
                      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 @@
  * @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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]