gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r27490 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r27490 - gnunet/src/mesh
Date: Wed, 19 Jun 2013 13:59:48 +0200

Author: bartpolot
Date: 2013-06-19 13:59:48 +0200 (Wed, 19 Jun 2013)
New Revision: 27490

Modified:
   gnunet/src/mesh/test_mesh2_local.c
   gnunet/src/mesh/test_mesh2_small.c
Log:
- use new data callback with no sender info

Modified: gnunet/src/mesh/test_mesh2_local.c
===================================================================
--- gnunet/src/mesh/test_mesh2_local.c  2013-06-19 11:50:50 UTC (rev 27489)
+++ gnunet/src/mesh/test_mesh2_local.c  2013-06-19 11:59:48 UTC (rev 27490)
@@ -97,7 +97,6 @@
  * @param cls closure (set from GNUNET_MESH_connect)
  * @param tunnel connection to the other end
  * @param tunnel_ctx place to store local state associated with the tunnel
- * @param sender who sent the message
  * @param message the actual message
  * 
  * @return GNUNET_OK to keep the connection open,
@@ -105,7 +104,6 @@
  */
 static int
 data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx,
-               const struct GNUNET_PeerIdentity *sender,
                const struct GNUNET_MessageHeader *message)
 {
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: Data callback\n");

Modified: gnunet/src/mesh/test_mesh2_small.c
===================================================================
--- gnunet/src/mesh/test_mesh2_small.c  2013-06-19 11:50:50 UTC (rev 27489)
+++ gnunet/src/mesh/test_mesh2_small.c  2013-06-19 11:59:48 UTC (rev 27490)
@@ -393,14 +393,12 @@
  * @param cls closure (set from GNUNET_MESH_connect)
  * @param tunnel connection to the other end
  * @param tunnel_ctx place to store local state associated with the tunnel
- * @param sender who sent the message
  * @param message the actual message
  * @return GNUNET_OK to keep the connection open,
  *         GNUNET_SYSERR to close it (signal serious error)
  */
 int
 data_callback (void *cls, struct GNUNET_MESH_Tunnel *tunnel, void **tunnel_ctx,
-               const struct GNUNET_PeerIdentity *sender,
                const struct GNUNET_MessageHeader *message)
 {
   long client = (long) cls;




reply via email to

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