[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27137 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27137 - gnunet/src/include |
Date: |
Wed, 15 May 2013 10:31:06 +0200 |
Author: bartpolot
Date: 2013-05-15 10:31:06 +0200 (Wed, 15 May 2013)
New Revision: 27137
Modified:
gnunet/src/include/gnunet_mesh2_service.h
Log:
- missing api changes
Modified: gnunet/src/include/gnunet_mesh2_service.h
===================================================================
--- gnunet/src/include/gnunet_mesh2_service.h 2013-05-15 00:04:09 UTC (rev
27136)
+++ gnunet/src/include/gnunet_mesh2_service.h 2013-05-15 08:31:06 UTC (rev
27137)
@@ -102,7 +102,6 @@
* do not have the right size.
*/
uint16_t expected_size;
-
};
@@ -117,7 +116,7 @@
* @param cls closure
* @param tunnel new handle to the tunnel
* @param initiator peer that started the tunnel
- * @param atsi performance information for the tunnel
+ * @param port Port this tunnel is for.
* @return initial tunnel context for the tunnel
* (can be NULL -- that's not an error)
*/
@@ -127,7 +126,8 @@
* tunnel,
const struct
GNUNET_PeerIdentity
- * initiator);
+ * initiator,
+ uint32_t port);
/**
@@ -161,6 +161,7 @@
* note that the mesh is allowed to drop notifications about
* inbound messages if the client does not process them fast
* enough (for this notification type, a bounded queue is used)
+ * @param ports NULL or 0-terminated array of port numbers for incoming
tunnels.
* @return handle to the mesh service NULL on error
* (in this case, init is never called)
*/
@@ -168,7 +169,8 @@
GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, void *cls,
GNUNET_MESH_InboundTunnelNotificationHandler new_tunnel,
GNUNET_MESH_TunnelEndHandler cleaner,
- const struct GNUNET_MESH_MessageHandler *handlers);
+ const struct GNUNET_MESH_MessageHandler *handlers,
+ uint32_t *ports);
/**
@@ -190,12 +192,14 @@
* @param h mesh handle
* @param tunnel_ctx client's tunnel context to associate with the tunnel
* @param peer peer identity the tunnel should go to
+ * @param port Port number.
* @return handle to the tunnel
*/
struct GNUNET_MESH_Tunnel *
GNUNET_MESH_tunnel_create (struct GNUNET_MESH_Handle *h,
- void *tunnel_ctx,
- const struct GNUNET_PeerIdentity *peer);
+ void *tunnel_ctx,
+ const struct GNUNET_PeerIdentity *peer,
+ uint32_t port);
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27137 - gnunet/src/include,
gnunet <=