gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30730 - gnunet/src/mesh
Date: Fri, 15 Nov 2013 16:28:22 +0100

Author: bartpolot
Date: 2013-11-15 16:28:22 +0100 (Fri, 15 Nov 2013)
New Revision: 30730

Modified:
   gnunet/src/mesh/gnunet-service-mesh_channel.c
   gnunet/src/mesh/gnunet-service-mesh_channel.h
Log:
- dead code


Modified: gnunet/src/mesh/gnunet-service-mesh_channel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_channel.c       2013-11-15 15:24:46 UTC 
(rev 30729)
+++ gnunet/src/mesh/gnunet-service-mesh_channel.c       2013-11-15 15:28:22 UTC 
(rev 30730)
@@ -1175,34 +1175,6 @@
 
 
 /**
- * Send data on a channel.
- *
- * If the destination is local, send it to client, otherwise encrypt and
- * send to next hop.
- *
- * @param ch Channel
- * @param msg Message.
- * @param fwd Is this a fwd (root->dest) message?
- */
-void
-GMCH_send_data (struct MeshChannel *ch,
-                const struct GNUNET_MESH_Data *msg,
-                int fwd)
-{
-  if (GMCH_is_terminal (ch, fwd))
-  {
-    GML_send_data (fwd ? ch->dest : ch->root,
-                   msg,
-                   fwd ? ch->lid_dest : ch->lid_root);
-  }
-  else
-  {
-    GMT_send_prebuilt_message (&msg->header, ch->t, ch, fwd, NULL, NULL);
-  }
-}
-
-
-/**
  * Send an end-to-end ACK message for the most recent in-sequence payload.
  *
  * If channel is not reliable, do nothing.

Modified: gnunet/src/mesh/gnunet-service-mesh_channel.h
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_channel.h       2013-11-15 15:24:46 UTC 
(rev 30729)
+++ gnunet/src/mesh/gnunet-service-mesh_channel.h       2013-11-15 15:28:22 UTC 
(rev 30730)
@@ -120,21 +120,6 @@
 GMCH_is_terminal (struct MeshChannel *ch, int fwd);
 
 /**
- * Send data on a channel.
- *
- * If the destination is local, send it to client, otherwise encrypt and
- * send to next hop.
- *
- * @param ch Channel
- * @param msg Message.
- * @param fwd Is this a fwd (root->dest) message?
- */
-void
-GMCH_send_data (struct MeshChannel *ch,
-                const struct GNUNET_MESH_Data *msg,
-                int fwd);
-
-/**
  * Send an end-to-end ACK message for the most recent in-sequence payload.
  *
  * If channel is not reliable, do nothing.




reply via email to

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